在/res/values/目录下, 预设的styles.xml內容
<resources><style name="AppTheme" parent="android:Theme.Light" /></resources>android:theme="Theme.Light" 背景為白色
android:theme="Theme.Light.NoTitleBar" 白色背景並無標題欄
android:theme="Theme.Light.NoTitleBar.Fullscreen"白色背景,無標題欄,全螢幕
android:theme="Theme.Black" 背景黑色
android:theme="Theme.Black.NoTitleBar" 黑色背景並無標題欄
android:theme="Theme.Black.NoTitleBar.Fullscreen"黑色背景,無標題欄,全螢幕
android:theme="Theme.Wallpaper" 用系統桌面為應用程式背景
android:theme="Theme.Wallpaper.NoTitleBar" 用系統桌面為應用程式背景,且無標題欄
android:theme="Theme.Wallpaper.NoTitleBar.Fullscreen" 用系統桌面為應用程式背景,無標題欄,全螢幕
android:theme="Translucent"
android:theme="Theme.Translucent.NoTitleBar"
android:theme="Theme.Translucent.NoTitleBar.Fullscreen"
android:theme="Theme.Panel"
android:theme="Theme.Light.Panel"
android:theme="@android:style/Theme.Dialog" 將一個Activity顯示為能話框模式
android:theme="@android:style/Theme.NoTitleBar"不顯示應用程式標題欄
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"不顯示應用程式標題欄,並全螢幕
浙公网安备 33010602011771号