android筆記:安卓內建的主題android:theme
來源:互聯網
上載者:User
•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="Translucent" 背景為透明•android:theme="Theme.Translucent.NoTitleBar" 透明背景並無標題列•android:theme="Theme.Translucent.NoTitleBar.Fullscreen" 透明背景並無標題列,全屏•android:theme="Theme.Panel" 內容容器•android:theme="Theme.Light.Panel" 背景為白色的內容容器