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

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

php - facebook and github login HWIOAuthBundle and FOSUserBundle in Symfony2.1 -

hadoop - Sqoop installation export and import from postgresql -