android - Use Image instead off text on actionbar 's label -


i wondering if have image label on actionbar instead of using simple text. still want keep icon on bar, want enrich label image. .check action bar

in order more specific attach image see want succeed.

you can customized actionbar using android:actionbarstyle

example:

add in style xml

<item name="android:actionbarstyle">@style/thin_ab_style</item> 

the thin_ab_style

 <style name="thin_ab_style" parent="@style/theme.sherlock">     <item name="android:height">60dp</item>     <item name="android:background">@drawable/drop_down_shadow_actionbar</item>     <item name="android:icon">@drawable/icon</item>     <item name="icon">@drawable/icon</item> </style> 

Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -