在android的sdk 安装目录data\res\values\themes.xml 里系统定义好的主题,可以直接使用,在AndroidManifest.xml中定义。如果整个工程用一个主题就在application 标签中定义。
<application android:icon="@drawable/icon"
android:label="@string/app_name" android:theme="@android:style/Theme.Wallpaper" >
如果在单个activety中用不同主题
<activity android:name=".secondActive"
android:label="第二页"
android:theme="@android:style/Theme.Black" >
•android:theme="@android:style/Theme.Dialog" 将一个Activity显示为能话框模式•android:theme="@android:style/Theme.NoTitleBar" 不显示应用程序标题栏
•android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 不显示应用程序标题栏,并全屏
•android:theme="Theme.Light&#