我正在使用 Android Design Support 库中的 TabLayout 并希望美化其文本(标题)。具体来说,我想让它加粗。如何仅通过 XML 实现?
<android.support.design.widget.TabLayout
android:id="@+id/sliding_tabs"
android:layout_width="match_parent"
app:tabTextColor="@color/white"
app:tabSelectedTextColor="@color/white"
app:tabIndicatorColor="@color/accent"
android:layout_height="wrap_content"
app:tabIndicatorHeight="3dp" />