Android基础TOP5_5:设置没有标题栏而且用系统壁纸当背景的界面

在res/values目录下的style.xml设置如下

 <style name="AppBaseTheme" parent="android:Theme.Wallpaper.NoTitleBar">
 1 <resources>
 2 
 3     <!--
 4         Base application theme, dependent on API level. This theme is replaced
 5         by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
 6     -->
 7     <style name="AppBaseTheme" parent="android:Theme.Wallpaper.NoTitleBar">
 8         <!--
 9             Theme customizations available in newer API levels can go in
10             res/values-vXX/styles.xml, while customizations related to
11             backward-compatibility can go here.
12         -->
13     </style>
14 
15     <!-- Application theme. -->
16     <style name="AppTheme" parent="android:Theme.Wallpaper.NoTitleBar">
17         <!-- All customizations that are NOT specific to a particular API-level can go here. -->
18     </style>
19 
20 </resources>

原文地址:https://www.cnblogs.com/AndroidCSY/p/6682231.html