中老年的Andr​​oid版本设置的Holo主题?中老年、版本、主题、oid

2023-09-12 07:51:20 作者:听!心碎的声音

我已经使用这似乎采用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 / 有各种款式和最新的使用相关的资源数据的Andr​​oid 4.0。

Look here SDK/platforms/android-15/data/res/ There are all styles and related resource data used on latest Android 4.

您也可以从这里下载: 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使用它在你的项目。这是唯一的方法如何定义了相同的主题,采用的是最新的Andr​​oid版本

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.