Use Holo light theme/style on gingerbread

久未见 提交于 2019-12-13 07:14:25

问题


I am currently creating an application for a client. I love the Holo light with dark action bar theme/style but that means that I would have to use API 14 and above. If I set the min API level to 14 then only about 50% of android users will be able to get the application, so I need to have min API level set to 9 (Gingerbread).

Finally the question: is there any way of using the theme/style on gingerbread or even put a Holo light with dark action bar style in Values?


回答1:


You can use Action Bar Sherlock library it has Theme.Sherlock.Light.DarkActionBar (among other things). With it you can almost completely emulate API 14 UI on earlier devices.



来源:https://stackoverflow.com/questions/16669819/use-holo-light-theme-style-on-gingerbread

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!