改变字体大小:
app:tabTextAppearance="@style/TabLayoutTextStyle"
<style name="TabLayoutTextStyle" parent="TextAppearance.Design.Tab">
<item name="android:textSize">16sp</item>
</style>
改变下滑线宽度:
app:tabIndicatorFullWidth="false"
app:tabMode="fixed"
改变字体大小:
app:tabTextAppearance="@style/TabLayoutTextStyle"
<style name="TabLayoutTextStyle" parent="TextAppearance.Design.Tab">
<item name="android:textSize">16sp</item>
</style>
改变下滑线宽度:
app:tabIndicatorFullWidth="false"
app:tabMode="fixed"
本文标题:AndroidX Tablayout设置字体和下划线宽度
本文链接:https://www.haomeiwen.com/subject/efhmuctx.html
网友评论