Android應用開發——係統自帶樣式Android:theme
轉自:https://sunney2012.iteye.com/blog/1163543
android:theme="@android:style/Theme.Dialog" 將一個Activity顯示為對話框模式
android:theme="@android:style/Theme.NoTitleBar" 不顯示應用程序標題欄
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 不顯示應用程序標題欄,並全屏
android:theme="@android:style/Theme.Light" 背景為白色
android:theme="@android:style/Theme.Light.NoTitleBar" 白色背景並無標題欄
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen" 白色背景,無標題欄,全屏
android:theme="@android:style/Theme.Black" 背景黑色
android:theme="@android:style/Theme.Black.NoTitleBar" 黑色背景並無標題欄
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 黑色背景,無標題欄,全屏
android:theme="@android:style/Theme.Wallpaper" 用係統桌麵為應用程序背景
android:theme="@android:style/Theme.Wallpaper.NoTitleBar" 用係統桌麵為應用程序背景,且無標題欄
android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen" 用係統桌麵為應用程序背景,無標題欄,全屏
android:theme="@android:style/Translucent" 半透明效果
android:theme="@android:style/Theme.Translucent.NoTitleBar" 半透明並無標題欄
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" 半透明效果,無標題欄,全屏
android:theme="@android:style/Theme.Panel"
android:theme="@android:style/Theme.Light.Panel"
最後更新:2017-04-03 05:40:22