这个问题我也是第一次遇到,经过查资料然后自己在style.xml中设置了一个样式,然后在清单文件中引用这个样式就行了,具体代码如下:
style.xml中需要配添加一下样式:
<style name="NoWhite" parent="AppBaseTheme">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowNoTitle">true</item>
</style>
清单文件中如下:
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/NoWhite" >
/>