1.在styles.xml文件中AppTheme中添加以下两个属性
<item name="android:windowIsTranslucent">true</item> <item name="android:windowNoTitle">true</item>
2.在manifest.xml文件application节点中设置android:theme="@style/AppTheme"
1.在styles.xml文件中AppTheme中添加以下两个属性
<item name="android:windowIsTranslucent">true</item> <item name="android:windowNoTitle">true</item>
2.在manifest.xml文件application节点中设置android:theme="@style/AppTheme"