
到目前为止,我的AndroID清单有:
androID:theme="@style/Customtheme"
我有另一个样式的文件:
<resources> <style name="Customtheme" parent="@androID:style/theme.Material.NoActionbar.Fullscreen"> <item name="androID:windowBackground">@drawable/editor_bg</item> </style></resources>
每当我更改样式的父级时,对theme.Translucent.NoTitlebar说,我看到更改,我的应用程序删除黑屏,所以我知道它已被更改/使用的样式.
我的问题是@ drawable / editor_bg似乎根本不起作用,我甚至尝试使用颜色而不是使用@ color / white的图像,在另一个文件中定义.
不确定它是否是团结本身的问题(使用版本5.3.1个人)或在androID端丢失的东西.任何帮助表示赞赏.
解决方法 试试这个:<resources> <style name="Customtheme" parent="@androID:style/theme.Material.NoActionbar.Fullscreen"> <item name="androID:windowBackground">@drawable/editor_bg</item><item name="?windowBackground">@drawable/editor_bg</item> </style> </resources>总结
以上是内存溢出为你收集整理的如何更改android:windowBackground?全部内容,希望文章能够帮你解决如何更改android:windowBackground?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)