您要使用的Holo主题API低比Android 4.0,这就是为什么你得到的红线,您可以:
you are trying to use the Holo theme for API Low than Android 4.0 that's why you get the red Line you can:
- 使用 HoloEverywhere 项目
- 挑全息主题必要的资源,你最想要的
ICS源和创建自己的自定义主题/样式
https://github.com/android/platform_frameworks_base/tree/master/core/res
- 您CA也试图用一个自定义的主题为Android阿比7至10
和全息主题阿比11或更高,看到@Alex洛克伍德的
的回答。
- Use the HoloEverywhere project
- Pick the necessary resources for Holo Theme you most want from the
ICS source and create your own custom theme/styles
https://github.com/android/platform_frameworks_base/tree/master/core/res
- You ca also try to make use a custom theme for Android Api 7 to 10
and the holo theme for Api 11 and higher, see @Alex Lockwood's
answer.