ninge
ninge

Reputation: 1598

Lost ActionBar title when add custom back button

All- I added a custom back button in my ActionBar Sherlock to fit my orange theme: enter image description here The problem is doing so made the title disappear. This is how it should look plus the carrot: enter image description here

I also changed the icon but I narrowed the problem down to the carrot not the icon. Anybody got this problem also and is so a fix?

Upvotes: 1

Views: 1984

Answers (1)

ninge
ninge

Reputation: 1598

just by moving on to my next task I stumbled upon my answer by chance. For those of you that might have the same problem here is your answer:

   <style parent="@style/Widget.Sherlock.Light.ActionBar.Solid" name="example_solid_ActionBar">  
        <item name="android:displayOptions">showHome|useLogo|showTitle</item> 
//...
</style>

Upvotes: 1

Related Questions