用法
设置字体大小
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>