调整趣味游戏tab选中线颜色

This commit is contained in:
2022-10-27 10:19:50 +08:00
parent 875fa33625
commit 1d8cdf250d
2 changed files with 11 additions and 3 deletions

View File

@@ -9,18 +9,22 @@
<LinearLayout
android:id="@+id/bg_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabLayout"
android:layout_width="match_parent"
android:layout_height="40dp"
app:tabMaxWidth="100dp"
app:tabMode="scrollable"
android:layout_marginBottom="10dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
app:layout_constraintTop_toTopOf="parent"
app:tabIndicatorFullWidth="false"
app:tabMaxWidth="100dp"
app:tabMode="scrollable">
</com.google.android.material.tabs.TabLayout>