中老年的Android版本设置的Holo主题? [英] Set Holo theme in older Android versions?
问题描述
我已经使用这似乎采用Android 4.0的全息的主题,而在Android上的旧版本(2.3)仍然在运行多个应用程序。有支持的方式来做到这一点还是有这些开发者设计他们自己的定制主题?
I have used several applications which appear to use Android 4.0's 'Holo' theme, whilst still running on an older version of Android (2.3). Is there a supported way to do this or have these developers designed their own custom themes?
感谢。
推荐答案
看这里 SDK /平台/ Android为15 /数据/ RES /
有各种款式和最新的使用相关的资源数据的Android 4.0。
Look here SDK/platforms/android-15/data/res/
There are all styles and related resource data used on latest Android 4.
您也可以从这里下载: <一href="https://github.com/android/platform_frameworks_base/tree/master/core/res">https://github.com/android/platform_frameworks_base/tree/master/core/res
You can also download it from here: https://github.com/android/platform_frameworks_base/tree/master/core/res
和你可以抓住你从这里需要您的应用程序。仅删除机器人:preFIX使用它在你的项目。这是唯一的方法如何定义了相同的主题,采用的是最新的Android版本
And you can grab what you need from here to your app. Only remove android: prefix to use it in you project. This is only way how to defines the same theme as is used in the latest Android versions.
这篇关于中老年的Android版本设置的Holo主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!