Eu estou tentando deixar a cor do aplicativo como Branco (por padrão), mas não consigo fazê-lo... Isso é possível? Ou terei que definir a cor elemento por elemento?
Não consigo também mudar a cor da ActionBar, segue o código relevante:
<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>
Theme.AppCompat.Light
apenas? Se não for isso, crie o diretóriores/values-14
e defina oActionBar.Solid.David
comandroid:background
e os demais atributos com o mesmo prefixo.