Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Replace your <code>Theme.Example</code> with this one and your <code>Skoletube.Tab.Text</code> with <code>TabText</code>: </p> <pre><code>&lt;style name="Theme.Example" parent="@style/Theme.Sherlock.Light.DarkActionBar"&gt; &lt;item name="actionBarItemBackground"&gt;@drawable/selectable_background_example&lt;/item&gt; &lt;item name="popupMenuStyle"&gt;@style/PopupMenu.Example&lt;/item&gt; &lt;item name="dropDownListViewStyle"&gt;@style/DropDownListView.Example&lt;/item&gt; &lt;item name="actionBarTabStyle"&gt;@style/ActionBarTabStyle.Example&lt;/item&gt; &lt;item name="actionDropDownStyle"&gt;@style/DropDownNav.Example&lt;/item&gt; &lt;item name="actionBarStyle"&gt;@style/ActionBar.Solid.Example&lt;/item&gt; &lt;item name="actionModeBackground"&gt;@drawable/cab_background_top_example&lt;/item&gt; &lt;item name="actionModeSplitBackground"&gt;@drawable/cab_background_bottom_example&lt;/item&gt; &lt;item name="actionModeCloseButtonStyle"&gt;@style/ActionButton.CloseMode.Example&lt;/item&gt; &lt;item name="android:textColor"&gt;@color/red&lt;/item&gt; &lt;!-- Light.DarkActionBar specific --&gt; &lt;item name="actionBarWidgetTheme"&gt;@style/Theme.Example.Widget&lt;/item&gt; &lt;item name="actionBarTabTextStyle"&gt;@style/TabText&lt;/item&gt; &lt;item name="android:actionBarTabTextStyle"&gt;@style/TabText&lt;/item&gt; &lt;/style&gt; &lt;style name="Theme.Example.TabText" parent="Widget.Sherlock.ActionBar.TabText"&gt; &lt;item name="android:textAppearance"&gt;@android:style/TextAppearance.Medium&lt;/item&gt; &lt;item name="android:textColor"&gt;@android:color/black&lt;/item&gt; &lt;/style&gt; </code></pre> <p>EDIT: this is the proper way of doing something like this: </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;resources&gt; &lt;style name="YOURTHEME" parent="Theme.Sherlock.Light"&gt; &lt;item name="android:actionBarStyle"&gt;@style/YOURTHEME.ActionBarStyle&lt;/item&gt; &lt;item name="actionBarStyle"&gt;@style/YOURTHEME.ActionBarStyle&lt;/item&gt; &lt;/style&gt; &lt;style name="YOURTHEME.ActionBarStyle" parent="Widget.Sherlock.Light.ActionBar"&gt; &lt;item name="android:titleTextStyle"&gt;@style/YOURTHEME.ActionBar.TitleTextStyle&lt;/item&gt; &lt;item name="titleTextStyle"&gt;@style/YOURTHEME.ActionBar.TitleTextStyle&lt;/item&gt; &lt;/style&gt; &lt;style name="YOURTHEME.ActionBar.TitleTextStyle" parent="TextAppearance.Sherlock.Widget.ActionBar.Title"&gt; &lt;item name="android:textColor"&gt;@color/YOUR_COLOR&lt;/item&gt; &lt;item name="textColor"&gt;@color/YOUR_COLOR&lt;/item&gt; &lt;item name="android:textSize"&gt;@dimension/MEDIUM_TEXT&lt;/item&gt; &lt;item name="textSize"&gt;@dimension/MEDIUM_TEXT&lt;/item&gt; &lt;/style&gt; &lt;/resources&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload