How to change action bar text and background properties?

Here is my style for the action bar. I would like to change the text and background properties. But the changes do not apply to the application. Where am I mistaken?

This is my .xml style

<style name="AppTheme" parent="@android:style/Theme.Holo.Light"> <item name="android:actionBarStyle">@style/MyActionBar</item> </style> <style name="MyActionBar" parent="@android:style/Widget.Holo.Light.ActionBar"> <item name="android:windowBackground">@color/white</item> <item name="android:background">@color/white</item> <item name="android:drawableBottom">@color/actionbar_title_color</item> <item name="android:textSize">@dimen/actionbar_text_size</item> <item name="android:textColor">@color/black</item> </style> 
+4
source share
1 answer

It worked. That was my fault. I changed the style in the values ​​folder. Since I am working on ICS, I had to change it in the value-14 folder.

+4
source

Source: https://habr.com/ru/post/1433565/


All Articles