嗨,我是Android新手,我只想在Android Studio中使用“编辑主题”更改我的应用主题,主题是更改预览,但是当我运行应用程序时,我看不到任何转换,当我想编辑Apptheme时它无法识别的样式属性,例如Holo主题 .
转到 AndroidManifest.xml . 在应用程序标签中按 CTR+ click android:theme="@style/AppTheme " It open the style.xml then change your theme as you want in style name=" AppTheme " parent=" Theme.AppCompat.Light.NoActionBar “>
在您的清单文件中将android:theme =“@ style / AppTheme”更改为android:theme =“@ android:style / Theme.Holo” .
2 回答
转到 AndroidManifest.xml . 在应用程序标签中按 CTR+ click android:theme="@style/AppTheme " It open the style.xml then change your theme as you want in style name=" AppTheme " parent=" Theme.AppCompat.Light.NoActionBar “>
在您的清单文件中将android:theme =“@ style / AppTheme”更改为android:theme =“@ android:style / Theme.Holo” .