2
我已經搜索並嘗試了幾種方法來更改操作欄選項卡文本樣式。在AppCompact主題中更改操作欄選項卡文本大小
我想對於「現在顯示」文本更大的文字大小。
這是我的主題。
<style name="Theme.Tabtheme" parent="@style/Theme.AppCompat.Light.DarkActionBar">
<item name="actionBarItemBackground">@drawable/selectable_background_tabtheme</item>
<item name="popupMenuStyle">@style/PopupMenu.Tabtheme</item>
<item name="dropDownListViewStyle">@style/DropDownListView.Tabtheme</item>
<item name="actionBarTabStyle">@style/ActionBarTabStyle.Tabtheme</item>
<item name="android:actionBarTabTextStyle">@style/ActionBarTabTextStyle.Tabtheme</item>
<item name="actionBarTabTextStyle">@style/ActionBarTabTextStyle.Tabtheme</item>
<item name="actionDropDownStyle">@style/DropDownNav.Tabtheme</item>
<item name="actionBarStyle">@style/ActionBar.Solid.Tabtheme</item>
<item name="actionModeBackground">@drawable/cab_background_top_tabtheme</item>
<item name="actionModeSplitBackground">@drawable/cab_background_bottom_tabtheme</item>
<item name="actionModeCloseButtonStyle">@style/ActionButton.CloseMode.Tabtheme</item>
<!-- Light.DarkActionBar specific -->
<item name="actionBarWidgetTheme">@style/Theme.Tabtheme.Widget</item>
</style>
<style name="ActionBarTabTextStyle.Tabtheme" parent="Widget.AppCompat.Base.ActionBar.TabText">
<item name="android:textSize">18sp</item>
</style>
我在做什麼錯?