2
I’m trying to leave the app color as White (by default), but I can’t do it... Is that possible? Or will I have to define the element color per element?
I also can’t change the color of Actionbar, follow the relevant code:
<style name="Theme.David" parent="@style/Theme.AppCompat.Light">
<item name="android:textColor">#FFFFFF</item>
<item name="android:titleTextStyle">@style/TitleTextStyle.David</item>
<item name="android:actionBarItemBackground">@drawable/selectable_background_david</item>
<item name="android:popupMenuStyle">@style/PopupMenu.David</item>
<item name="android:dropDownListViewStyle">@style/DropDownListView.David</item>
<item name="android:actionBarTabStyle">@style/ActionBarTabStyle.David</item>
<item name="android:actionDropDownStyle">@style/DropDownNav.David</item>
<item name="android:actionBarStyle">@style/ActionBar.Solid.David</item>
<item name="android:actionModeBackground">@drawable/cab_background_top_david</item>
<item name="android:actionModeSplitBackground">@drawable/cab_background_bottom_david</item>
<item name="android:actionModeCloseButtonStyle">@style/ActionButton.CloseMode.David</item>
<item name="actionBarItemBackground">@drawable/selectable_background_david</item>
<item name="popupMenuStyle">@style/PopupMenu.David</item>
<item name="dropDownListViewStyle">@style/DropDownListView.David</item>
<item name="actionBarTabStyle">@style/ActionBarTabStyle.David</item>
<item name="actionDropDownStyle">@style/DropDownNav.David</item>
<item name="actionBarStyle">@style/ActionBar.Solid.David</item>
<item name="actionModeBackground">@drawable/cab_background_top_david</item>
<item name="actionModeSplitBackground">@drawable/cab_background_bottom_david</item>
<item name="actionModeCloseButtonStyle">@style/ActionButton.CloseMode.David</item>
</style>
<style name="ActionBar.Solid.David" parent="@style/Widget.AppCompat.ActionBar">
<item name="android:titleTextStyle">@style/TitleTextStyle.David</item>
<item name="android:background">@drawable/ab_solid_david</item>
<item name="android:backgroundStacked">@drawable/ab_stacked_solid_david</item>
<item name="android:backgroundSplit">@drawable/ab_bottom_solid_david</item>
<item name="android:progressBarStyle">@style/ProgressBar.David</item>
<item name="background">@drawable/ab_solid_david</item>
<item name="backgroundStacked">@drawable/ab_stacked_solid_david</item>
<item name="backgroundSplit">@drawable/ab_bottom_solid_david</item>
<item name="progressBarStyle">@style/ProgressBar.David</item>
</style>
<style name="TitleTextStyle.David" parent="@style/TextAppearance.AppCompat.Widget.ActionBar.Title">
<item name="android:textColor">#FFFFFF</item>
<item name="android:textStyle">bold</item>
</style>
Why don’t you use the theme
Theme.AppCompat.Light
just? If not this, create the directoryres/values-14
and define theActionBar.Solid.David
withandroid:background
and other attributes with the same prefix.– Wakim
I deleted "Darkactionbar" and also included the items with the prefix "android:", but the color of the text and Actionbar remain black... I don’t understand what could be going on :/
– Mukotoshi