Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <android.support.v4.widget.NestedScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <com.ogaclejapan.smarttablayout.SmartTabLayout
- android:id="@+id/smartTabLayout"
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:background="@color/colorPrimaryDark"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:stl_clickable="true"
- app:stl_defaultTabTextAllCaps="true"
- app:stl_defaultTabTextColor="@android:color/white"
- app:stl_defaultTabTextHorizontalPadding="16dp"
- app:stl_defaultTabTextMinWidth="0dp"
- app:stl_defaultTabTextSize="12sp"
- app:stl_distributeEvenly="true"
- app:stl_dividerColor="#4D000000"
- app:stl_dividerThickness="1dp"
- app:stl_drawDecorationAfterTab="false"
- app:stl_indicatorAlwaysInCenter="false"
- app:stl_indicatorColor="@android:color/white"
- app:stl_indicatorCornerRadius="2dp"
- app:stl_indicatorGravity="bottom"
- app:stl_indicatorInFront="false"
- app:stl_indicatorInterpolation="linear"
- app:stl_indicatorThickness="4dp"
- app:stl_indicatorWidth="auto"
- app:stl_indicatorWithoutPadding="false"
- app:stl_overlineColor="#4D000000"
- app:stl_overlineThickness="0dp"
- app:stl_titleOffset="24dp"
- app:stl_underlineColor="#4D000000"
- app:stl_underlineThickness="1dp" />
- <android.support.v4.view.ViewPager
- android:id="@+id/viewPager"
- android:layout_width="match_parent"
- android:layout_height="300dp"
- app:layout_constraintTop_toBottomOf="@+id/smartTabLayout" />
- </LinearLayout>
- </android.support.v4.widget.NestedScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement