使用全息光主题/风格上姜饼 [英] Use Holo light theme/style on gingerbread

查看:118
本文介绍了使用全息光主题/风格上姜饼的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在创建一个客户端的应用程序。我喜欢深色的操作栏主题/风格全息光但这意味着我将不得不使用API​​ 14以上。如果我设置最小API级别14则仅约50%的Andr​​oid用户将能够得到应用,所以我需要设置为9(姜饼)最小API级别。

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?

推荐答案

您可以使用操作栏福尔摩斯库有 Theme.Sherlock.Light.DarkActionBar (除其他事项外)。有了它,你几乎可以完全在早期的设备模拟API 14的用户界面。

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.

这篇关于使用全息光主题/风格上姜饼的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆