Android - View - TabLayout

用法

设置字体大小

layout/xxx.xml

<android.support.design.widget.TabLayout
    ...
    app:tabTextAppearance="@style/MineTabLayout"
    ...
/>

values/styles.xml

<style name="MineTabLayout" parent="TextAppearance.Design.Tab">
    <item name="android:textSize">@dimen/font_tab</item>
</style>

文档信息

Search

    Table of Contents