|
@@ -0,0 +1,47 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <include
|
|
|
+ android:id="@+id/toolbar_include"
|
|
|
+ layout="@layout/common_toolbar_layout" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tablayout"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/toolbar_include" />
|
|
|
+
|
|
|
+ <com.google.android.material.tabs.TabLayout
|
|
|
+ android:id="@+id/tablayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_44"
|
|
|
+ android:scrollbars="none"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/toolbar_include"
|
|
|
+ app:tabBackground="@null"
|
|
|
+ app:tabGravity="fill"
|
|
|
+ app:tabIndicator="@drawable/tab_indicator"
|
|
|
+ app:tabIndicatorColor="@color/color_2dc7aa"
|
|
|
+ app:tabIndicatorFullWidth="false"
|
|
|
+ app:tabIndicatorHeight="4dp"
|
|
|
+ app:tabMode="auto"
|
|
|
+ app:tabRippleColor="@null"
|
|
|
+ app:tabSelectedTextColor="@color/black_333"
|
|
|
+ app:tabTextAppearance="@style/tab_layout_style_17sp"
|
|
|
+ app:tabTextColor="@color/color_666666" />
|
|
|
+
|
|
|
+ <androidx.viewpager.widget.ViewPager
|
|
|
+ android:id="@+id/viewpager"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:scrollbars="none"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tablayout" />
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|