引用: https://blog.csdn.net/qq_34906385/article/details/93524163
<com.google.android.material.tabs.TabLayout
android:id="@+id/tablayout"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_40"
android:background="@color/white"
app:tabBackground="@android:color/transparent"
app:tabGravity="fill"
app:tabIndicatorColor="@color/app_check_datum_color"
app:tabIndicatorFullWidth="false"
app:tabIndicatorHeight="@dimen/dp_3"
app:tabMode="scrollable"
app:tabTextAppearance="@style/TabLayoutNormalTextSize"
com.google.android.material.tabs.TabLayout 选择tab 加粗字体加大
最新推荐文章于 2024-06-13 17:32:45 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)