开发者

GreenDroid library , set drawable title in ActionBar

R开发者_StackOverflow中文版egarding GreenDroid library https://github.com/cyrilmottier/GreenDroid:

  1. 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?

  2. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜