-2

I am wondering if I could have an image label on actionbar instead of using simple text. I still want to keep the icon on the bar, but I want to enrich the label with the image. .Check the action bar

In order to be more specific I attach an image to see what I want to succeed.

1
  • This question is a duplicate of how to customize Action Bar topic, you can find your answer here Commented Jun 8, 2014 at 0:58

1 Answer 1

2

You can customized your actionBar using the android:actionBarStyle

example:

add this in your 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> 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.