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":半透明效果,无标题栏,全屏