天天看點

Android應用開發——系統自帶樣式Android:theme

轉自:http://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"

繼續閱讀