R开发者_StackOverflow中文版egarding GreenDroid library https://github.com/cyrilmottier/GreenDroid:
I want to set a logo as title in the Action Bar. I've tried a couple of methods but with no result. How should I proceed?
When creating a GDApplication file, and set as getHomeActivity my main activity class, inside that activity my normal ActionBar title disappears, why and how could I bring it back ?
I solved my problems like this: I used the setType
method for the ActionBar and I set it to ActionBar.Type.Empty
and then only call the setTitle
method for setting a custom title.
精彩评论