android之theme

轉自http://blog.sina.com.cn/s/blog_bfe1efad0101ado8.html


android:theme="@android:style/Theme.Dialog" : Activity顯示爲對話框模式
android:theme="@android:style/Theme.NoTitleBar" : 不顯示應用程序標題欄
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" : 不顯示應用程序標題欄,並全屏
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="Theme.Translucent : 透明背景
android:theme="Theme.Translucent.NoTitleBar" : 透明背景並無標題
android:theme="Theme.Translucent.NoTitleBar.Fullscreen" : 透明背景並無標題,全屏
android:theme="Theme.Panel ": 面板風格顯示
android:theme="Theme.Light.Panel" : 平板風格顯示

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