1
我剛開始學習android,我想改變我整個android應用程序的主題。 Based on this更改我整個android studio應用程序混淆的主題
我想將主題更改爲黑色材質主題。在我的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這個主題?如何解決它?
他說:API級別至少21個,其他的方法呢? – KKKK
您要使用的主題是API等級21,如果你的目標下的API,你應該使用不同的主題 – Pooya
但我檢查我的項目結構和我的API是26 – KKKK