Android 使用样式在主题中设置活动背景?
我想为我的所有活动使用可绘制的背景。我怎样才能做到这一点与风格Android 使用样式在主题中设置活动背景?,android,Android,我想为我的所有活动使用可绘制的背景。我怎样才能做到这一点与风格 // styles.xml <style name="MyTheme" parent="Theme.Sherlock.Light.DarkActionBar.ForceOverflow"> <item name="android:background">@drawable/my_background</item> </style> //styles.xml @可绘制/我的
// styles.xml
<style name="MyTheme" parent="Theme.Sherlock.Light.DarkActionBar.ForceOverflow">
<item name="android:background">@drawable/my_background</item>
</style>
//styles.xml
@可绘制/我的背景
这为所有看起来的小部件设置了背景。我只是想让它在活动中发挥作用
谢谢使用
<item name="android:windowBackground">@drawable/my_background</item>
@drawable/my\u背景