1.首先,Theme属性详解:
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="Theme.Translucent" //透明背景
android:theme="Theme.Translucent.NoTitleBar" //透明背景并无标题
android:theme="Theme.Translucent.NoTitleBar.Fullscreen" //透明背景并无标题,全屏
android:theme="Theme.Panel " //面板风格显示
android:theme="Theme.Light.Panel" //平板风格显示

2.其次,Theme和Style区别:
前者主要用于Application和Activity,后者主要用于View。

更多相关文章

  1. android中的style部分属性值介绍
  2. 系统自带样式Android:theme
  3. 怎样做出一个dialog样式的activity
  4. android中的style部分属性值介绍
  5. Android(安卓)主题 application theme
  6. TextView常用属性
  7. android隐藏EditText光标
  8. android自定义主题样式
  9. android Style属性介绍

随机推荐

  1. 在Android中使用Ada编程
  2. 使用本地仓库实现最新版ReactNative集成A
  3. Android 4.0: 旋转屏幕时禁止Activity重
  4. 拥抱Android:编译nodejs搭建移动平台
  5. Android启动画面翻转
  6. React Native Android 独有组件之 TimePi
  7. Android 自定义View 使用VelocityTracker
  8. android中使用properties文件配置
  9. Android Studio 本地化配置gradle的build
  10. AndEngine引擎学习之环境配置以及示例修