標籤:android
android中的style屬性值
Android平台定義的主題樣式:
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中的style相關屬性