<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout"
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@color/white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/normalHead"
app:tabMaxWidth="0dp"
app:tabIndicatorColor="@color/black"
app:tabIndicatorFullWidth="true"
app:tabIndicatorHeight="2dp"
app:tabMode="fixed"
app:tabGravity="fill"
app:tabSelectedTextColor="@color/black"
app:tabTextColor="@color/gray"
app:tabUnboundedRipple="true" />
app:tabMode="fixed"
app:tabGravity="fill"
网友评论