Note that there are some explanatory texts on larger screens.

plurals
  1. POHow i change the color of the text in a actionbarsherlock?
    primarykey
    data
    text
    <p>I want to know how to change the color of the title and subititle of the tab in a actionbarscherlock. now the color's text is white i want to change this. thank's to all.</p> <p>this is my style 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;/style&gt; &lt;style name="Skoletube.Tab.Text" 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; </code></pre> <p></p> <pre><code>&lt;style name="ActionBar.Solid.Example" parent="@style/Widget.Sherlock.Light.ActionBar.Solid.Inverse"&gt; &lt;item name="background"&gt;@drawable/ab_solid_example&lt;/item&gt; &lt;item name="backgroundStacked"&gt;@drawable/ab_stacked_solid_example&lt;/item&gt; &lt;item name="backgroundSplit"&gt;@drawable/ab_bottom_solid_example&lt;/item&gt; &lt;item name="progressBarStyle"&gt;@style/ProgressBar.Example&lt;/item&gt; &lt;/style&gt; &lt;style name="ActionBar.Transparent.Example" parent="@style/Widget.Sherlock.ActionBar"&gt; &lt;item name="background"&gt;@drawable/ab_transparent_example&lt;/item&gt; &lt;item name="progressBarStyle"&gt;@style/ProgressBar.Example&lt;/item&gt; &lt;/style&gt; &lt;style name="PopupMenu.Example" parent="@style/Widget.Sherlock.ListPopupWindow"&gt; &lt;item name="android:popupBackground"&gt;@drawable/menu_dropdown_panel_example&lt;/item&gt; &lt;/style&gt; &lt;style name="DropDownListView.Example" parent="@style/Widget.Sherlock.ListView.DropDown"&gt; &lt;item name="android:listSelector"&gt;@drawable/selectable_background_example&lt;/item&gt; &lt;/style&gt; &lt;style name="ActionBarTabStyle.Example" parent="@style/Widget.Sherlock.ActionBar.TabView"&gt; &lt;item name="android:background"&gt;@drawable/tab_indicator_ab_example&lt;/item&gt; &lt;/style&gt; &lt;style name="DropDownNav.Example" parent="@style/Widget.Sherlock.Spinner.DropDown.ActionBar"&gt; &lt;item name="android:background"&gt;@drawable/spinner_background_ab_example&lt;/item&gt; &lt;item name="android:popupBackground"&gt;@drawable/menu_dropdown_panel_example&lt;/item&gt; &lt;item name="android:dropDownSelector"&gt;@drawable/selectable_background_example&lt;/item&gt; &lt;item name="android:textColor"&gt;@color/red&lt;/item&gt; &lt;/style&gt; &lt;style name="ProgressBar.Example" parent="@style/Widget.Sherlock.ProgressBar.Horizontal"&gt; &lt;item name="android:progressDrawable"&gt;@drawable/progress_horizontal_example&lt;/item&gt; &lt;/style&gt; &lt;style name="ActionButton.CloseMode.Example" parent="@style/Widget.Sherlock.ActionButton.CloseMode"&gt; &lt;item name="android:background"&gt;@drawable/btn_cab_done_example&lt;/item&gt; &lt;/style&gt; &lt;!-- this style is only referenced in a Light.DarkActionBar based theme --&gt; &lt;style name="Theme.Example.Widget" parent="@style/Theme.Sherlock"&gt; &lt;item name="popupMenuStyle"&gt;@style/PopupMenu.Example&lt;/item&gt; &lt;item name="dropDownListViewStyle"&gt;@style/DropDownListView.Example&lt;/item&gt; &lt;/style&gt; </code></pre> <p></p> <p>it does not give me errors but I don't change the text colors</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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