我将以下主题添加到了我的应用程序,其背景颜色为white.But但出现以下错误,我不确定我出错的位置。将自定义主题添加到应用程序时出错
Error: Color types not allowed (at 'android:windowBackground' with value '#FF0000')
。
<style name="MyTheme" parent="@android:style/Theme.Light">
<item name="android:windowBackground">#FF0000</item>
</style>
而且引用的mymanifest主题:
<activity
android:name=".MyActivity"
android:theme="@style/MyTheme" />
任何意见或建议?由于
http://stackoverflow.com/questions/4342405/android-setselector-color-for-listview-not-working – PaperThick 2013-03-20 13:21:25