我正在 ICS 上测试我的 Android 2.2 应用程序。它适用于 ICS,但我有一个奇怪的问题。
我在我的应用程序中使用自定义主题,并使用 android:windowBackground 属性来设置背景图像。它在 Android 2.2-2.3 设备上显示得很好,但在 ICS 上它添加了某种奇怪的白色混合发光效果。仅当我设置 android:windowBackground 属性时才会发生这种情况。
这是我使用的 windowBackground 布局的内容;
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/tv_big"
android:tileMode="disabled"
android:gravity="center|top" />
如果我不设置 android:windowBackground 问题就消失了,我的应用程序渲染得很好。我无法截取问题的屏幕截图,因为在屏幕截图上效果不可见。
有没有人遇到过这个问题?如果是这样,你做了什么?