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

更多相关文章

  1. Android系统自带样式(@android:style/)
  2. Android系统自带样式(@android:style/)
  3. Android系统自带样式(@android:style/)
  4. Android系统自带样式(@android:style/)
  5. Android中实现全屏、无标题栏的两种办法
  6. android开发(36) Android(安卓)WebView背景设置为透明
  7. 保持长宽比 对背景图像进行修改android:scaleType="fitXY"
  8. Android系统自带theme
  9. 系统自带的主题与样式(theme and style)

随机推荐

  1. [Xamarin.Android] 儲存資料於Windows Az
  2. Android——用XML的selector实现按钮多态
  3. 第五章(6)Libgdx应用框架之接口
  4. Android(安卓)5.X新特性
  5. 【Android】之【对话框 Dialog】
  6. android 4.0 "移动网络" 选项 不存在
  7. android level-list ImageView中显示不同
  8. Android(安卓)CircleMenu:旋转转盘选择Men
  9. 8款让前端开发者心动的jQuery/CSS3应用
  10. 安卓在子线程中使用使用Toast