Advertisement
Guest User

Untitled

a guest
Feb 24th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 2.40 KB | None | 0 0
  1.  <android.support.v4.widget.NestedScrollView
  2.        android:layout_width="match_parent"
  3.        android:layout_height="match_parent"
  4.        app:layout_behavior="@string/appbar_scrolling_view_behavior" >
  5.  
  6.         <LinearLayout
  7.            android:layout_width="match_parent"
  8.            android:layout_height="match_parent"
  9.            android:orientation="vertical">
  10.  
  11.             <com.ogaclejapan.smarttablayout.SmartTabLayout
  12.                android:id="@+id/smartTabLayout"
  13.                android:layout_width="match_parent"
  14.                android:layout_height="48dp"
  15.                android:background="@color/colorPrimaryDark"
  16.                app:layout_constraintEnd_toEndOf="parent"
  17.                app:layout_constraintStart_toStartOf="parent"
  18.                app:layout_constraintTop_toTopOf="parent"
  19.                app:stl_clickable="true"
  20.                app:stl_defaultTabTextAllCaps="true"
  21.                app:stl_defaultTabTextColor="@android:color/white"
  22.                app:stl_defaultTabTextHorizontalPadding="16dp"
  23.                app:stl_defaultTabTextMinWidth="0dp"
  24.                app:stl_defaultTabTextSize="12sp"
  25.                app:stl_distributeEvenly="true"
  26.                app:stl_dividerColor="#4D000000"
  27.                app:stl_dividerThickness="1dp"
  28.                app:stl_drawDecorationAfterTab="false"
  29.                app:stl_indicatorAlwaysInCenter="false"
  30.                app:stl_indicatorColor="@android:color/white"
  31.                app:stl_indicatorCornerRadius="2dp"
  32.                app:stl_indicatorGravity="bottom"
  33.                app:stl_indicatorInFront="false"
  34.                app:stl_indicatorInterpolation="linear"
  35.                app:stl_indicatorThickness="4dp"
  36.                app:stl_indicatorWidth="auto"
  37.                app:stl_indicatorWithoutPadding="false"
  38.                app:stl_overlineColor="#4D000000"
  39.                app:stl_overlineThickness="0dp"
  40.                app:stl_titleOffset="24dp"
  41.                app:stl_underlineColor="#4D000000"
  42.                app:stl_underlineThickness="1dp" />
  43.  
  44.             <android.support.v4.view.ViewPager
  45.                android:id="@+id/viewPager"
  46.                android:layout_width="match_parent"
  47.                android:layout_height="300dp"
  48.                app:layout_constraintTop_toBottomOf="@+id/smartTabLayout" />
  49.  
  50.         </LinearLayout>
  51.  
  52.     </android.support.v4.widget.NestedScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement