ogaclejapan / SmartTabLayout

A custom ViewPager title strip which gives continuous feedback to the user when scrolling
Apache License 2.0
7.09k stars 1.34k forks source link

How to get Indicator Thickness Trick 1 style for the tab buttons. #319

Open prajwalmw opened 10 months ago

prajwalmw commented 10 months ago

How to get the Indicator thickness trick 1 style to the tab buttons when moving from one tab to another.

DonMarv00 commented 8 months ago

<com.ogaclejapan.smarttablayout.SmartTabLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@id/viewpagertab" android:layout_width="match_parent" android:layout_height="@dimen/tab_height" android:clipToPadding="false" android:paddingLeft="4dp" android:paddingRight="4dp" app:stl_defaultTabTextColor="@color/white" app:stl_defaultTabTextHorizontalPadding="18dp" app:stl_dividerColor="@color/transparent" app:stl_dividerThickness="0dp" app:stl_indicatorColor="@color/black_20" app:stl_indicatorCornerRadius="18dp" app:stl_indicatorGravity="center" app:stl_indicatorInterpolation="smart" app:stl_indicatorThickness="36dp" app:stl_underlineColor="@color/transparent" app:stl_underlineThickness="0dp" />