如何设置全息黑暗的主题在Android应用程序? [英] How to set the holo dark theme in a Android app?
本文介绍了如何设置全息黑暗的主题在Android应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何设置黑暗的全息主题在我的应用程序? 在这个时候,我得到这个:
How can I set the dark holo theme in my app? At this time I got this:
<style name="AppTheme" parent="android:Theme.Holo.Light" />
但是,当我将其更改为:
But when I change it to:
<style name="AppTheme" parent="android:Theme.Holo.Dark" />
我得到一个错误错误:错误检索父项:未发现的资源匹配给定名称机器人:Theme.Holo.Dark。
如何解决这个问题呢?
推荐答案
变更父=机器人:Theme.Holo.Dark
以父=机器人:Theme.Holo
在全息黑暗的主题被称为全息
The holo dark theme is called Holo
这篇关于如何设置全息黑暗的主题在Android应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文