系統自帶樣式theme

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"


原文地址點擊打開鏈接

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章