design - android sdk, change action bar color to a solid color (no fading) -


so in apps push bullet have action bar solid background color, no fading ever. how accomplish while still keeping minimum api level 14. tutorials saw did not work, app randomly crashes when using themes too.

edit

fixed problem simply. men't shadow @ bottom of action bar...

i went themes , added this

<item name="android:windowcontentoverlay">@null</item> 

you can change action bar color or can set background using drawable try this.

<resources> <style name="appbasetheme" parent="android:theme.light"> <item name="android:background">@color/custom_bg_coolor</item> </style> <style name="apptheme" parent="appbasetheme"> <item name="android:actionbarstyle">@style/myactionbar</item> </style> <style name="myactionbar" parent="@android:style/widget.holo.light.actionbar"> <item name="android:background">#76aa00</item> </style> </resources> 

Comments

Popular posts from this blog

c - CUDA code not processing if block properly -

Android Capture Image From Camera -

Define custom list-style-type in CSS -