[英]Change the theme of my whole android studio application confusion
我刚刚开始学习android,并且想更改整个android应用程序的主题。 基于此
我想将主题更改为“深色材质”主题。 在我的androidmanifest.xml文件中
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.Material"> // here is the change
但是我的应用程序无法识别Theme.Material这个主题吗? 如何解决?
将android:theme="@style/Theme.Material">
更改为:
android:theme="@android:style/Theme.Material">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.