Android 系统提供的主题

android.R.style 列举了系统提供的样式主题。

在 xml 文件中,作为属性值使用时,需要将主题名称中的 "_"(短横)改为 .(点)。

Theme


The default theme for apps on API level 10 and lower.


Theme_Black


Variant on Theme that ensures the background is completely black.


Theme_Black_NoTitleBar


Variant of Theme_Black with no title bar


Theme_Black_NoTitleBar_Fullscreen


Variant of Theme_Black that has no title bar and no status bar.


Theme_DeviceDefault


The default theme for apps that target API level 14 and higher.


Theme_DeviceDefault_Dialog


DeviceDefault theme for dialog windows and activities.


Theme_DeviceDefault_DialogWhenLarge


DeviceDefault theme for a window that will be displayed either full-screen on smaller screens (small, normal) or as a dialog on larger screens (large, xlarge).


Theme_DeviceDefault_DialogWhenLarge_NoActionBar


DeviceDefault theme for a window without an action bar that will be displayed either full-screen on smaller screens (small, normal) or as a dialog on larger screens (large, xlarge).


Theme_DeviceDefault_Dialog_MinWidth


Variant of Theme_DeviceDefault_Dialog that has a nice minimum width for a regular dialog.


Theme_DeviceDefault_Dialog_NoActionBar


Variant of Theme_DeviceDefault_Dialog without an action bar


Theme_DeviceDefault_Dialog_NoActionBar_MinWidth


Variant of Theme_DeviceDefault_Dialog_NoActionBarthat has a nice minimum width for a regular dialog.


Theme_DeviceDefault_InputMethod


DeviceDefault style for input methods, which is used by the InputMethodService class.


Theme_DeviceDefault_Light


Variant of Theme_DeviceDefault with a light-colored style


Theme_DeviceDefault_Light_DarkActionBar


Variant of the DeviceDefault (light) theme that has a solid (opaque) action bar with an inverse color profile.


Theme_DeviceDefault_Light_Dialog


DeviceDefault light theme for dialog windows and activities.


Theme_DeviceDefault_Light_DialogWhenLarge


DeviceDefault light theme for a window that will be displayed either full-screen on smaller screens (small, normal) or as a dialog on larger screens (large, xlarge).


Theme_DeviceDefault_Light_DialogWhenLarge_NoActionBar


DeviceDefault light theme for a window without an action bar that will be displayed either full-screen on smaller screens (small, normal) or as a dialog on larger screens (large, xlarge).


Theme_DeviceDefault_Light_Dialog_MinWidth


Variant of Theme_DeviceDefault_Light_Dialog that has a nice minimum width for a regular dialog.


Theme_DeviceDefault_Light_Dialog_NoActionBar


Variant of Theme_DeviceDefault_Light_Dialog without an action bar


Theme_DeviceDefault_Light_Dialog_NoActionBar_MinWidth


Variant ofTheme_DeviceDefault_Light_Dialog_NoActionBar that has a nice minimum width for a regular dialog.


Theme_DeviceDefault_Light_NoActionBar


Variant of Theme_DeviceDefault_Light with no action bar


Theme_DeviceDefault_Light_NoActionBar_Fullscreen


Variant of Theme_DeviceDefault_Light with no action bar and no status bar.


Theme_DeviceDefault_Light_NoActionBar_Overscan


Variant of Theme_DeviceDefault_Light with no action bar and no status bar and extending in to overscan region.


Theme_DeviceDefault_Light_NoActionBar_TranslucentDecor


Variant of Theme_DeviceDefault_Light that has no title bar and translucent system decor.


Theme_DeviceDefault_Light_Panel


DeviceDefault light theme for panel windows.


Theme_DeviceDefault_NoActionBar


Variant of Theme_DeviceDefault with no action bar


Theme_DeviceDefault_NoActionBar_Fullscreen


Variant of Theme_DeviceDefault with no action bar and no status bar.


Theme_DeviceDefault_NoActionBar_Overscan


Variant of Theme_DeviceDefault with no action bar and no status bar and extending in to overscan region.


Theme_DeviceDefault_NoActionBar_TranslucentDecor


Variant of Theme_DeviceDefault that has no title bar and translucent system decor.


Theme_DeviceDefault_Panel


DeviceDefault theme for panel windows.


Theme_DeviceDefault_Wallpaper


DeviceDefault theme for windows that want to have the user‘s selected wallpaper appear behind them.


Theme_DeviceDefault_Wallpaper_NoTitleBar


DeviceDefault theme for windows that want to have the user‘s selected wallpaper appear behind them and without an action bar.


Theme_Dialog


Default theme for dialog windows and activities (on API level 10 and lower), which is used by the Dialog class.


Theme_Holo


Honeycomb holographic theme (dark version).


Theme_Holo_Dialog


Holo theme for dialog windows and activities, which is used by the Dialog class.


Theme_Holo_DialogWhenLarge


Theme for a window that will be displayed either full-screen on smaller screens (small, normal) or as a dialog on larger screens (large, xlarge).


Theme_Holo_DialogWhenLarge_NoActionBar


Theme for a window without a title bar that will be displayed either full-screen on smaller screens (small, normal) or as a dialog on larger screens (large, xlarge).


Theme_Holo_Dialog_MinWidth


Variant of Theme.Holo.Dialog that has a nice minimum width for a regular dialog.


Theme_Holo_Dialog_NoActionBar


Variant of Theme.Holo.Dialog that does not include a title bar.


Theme_Holo_Dialog_NoActionBar_MinWidth


Variant of Theme.Holo.Dialog.NoActionBar that has a nice minimum width for a regular dialog.


Theme_Holo_InputMethod


Default theme for holo style input methods, which is used by the InputMethodService class.


Theme_Holo_Light


Honeycomb holographic theme (light version).


Theme_Holo_Light_DarkActionBar


Variant of the holographic (light) theme that has a solid (opaque) action bar with an inverse color profile.


Theme_Holo_Light_Dialog


Light holo dialog themes Holo light theme for dialog windows and activities, which is used by the Dialogclass.


Theme_Holo_Light_DialogWhenLarge


Theme for a window that will be displayed either full-screen on smaller screens (small, normal) or as a dialog on larger screens (large, xlarge).


Theme_Holo_Light_DialogWhenLarge_NoActionBar


Theme for a window without an action bar that will be displayed either full-screen on smaller screens (small, normal) or as a dialog on larger screens (large, xlarge).


Theme_Holo_Light_Dialog_MinWidth


Variant of Theme.Holo.Light.Dialog that has a nice minimum width for a regular dialog.


Theme_Holo_Light_Dialog_NoActionBar


Variant of Theme.Holo.Light.Dialog that does not include a title bar.


Theme_Holo_Light_Dialog_NoActionBar_MinWidth


Variant of Theme.Holo.Light.Dialog.NoActionBar that has a nice minimum width for a regular dialog.


Theme_Holo_Light_NoActionBar


Variant of the holographic (light) theme with no action bar.


Theme_Holo_Light_NoActionBar_Fullscreen


Variant of the holographic (light) theme that has no title bar and fills the entire screen.


Theme_Holo_Light_NoActionBar_Overscan


Variant of the holographic (light) theme that has no title bar and fills the entire screen and extends into the display overscan region.


Theme_Holo_Light_NoActionBar_TranslucentDecor


Variant of the holographic (light) theme that has no title bar and translucent system decor.


Theme_Holo_Light_Panel


Default holo light theme for panel windows.


Theme_Holo_NoActionBar


Variant of the holographic (dark) theme with no action bar.


Theme_Holo_NoActionBar_Fullscreen


Variant of the holographic (dark) theme that has no title bar and fills the entire screen.


Theme_Holo_NoActionBar_Overscan


Variant of the holographic (dark) theme that has no title bar and fills the entire screen and extends into the display overscan region.


Theme_Holo_NoActionBar_TranslucentDecor


Variant of the holographic (dark) theme that has no title bar and translucent system decor.


Theme_Holo_Panel


Default holo dark theme for panel windows.


Theme_Holo_Wallpaper


Default holographic (dark) for windows that want to have the user‘s selected wallpaper appear behind them.


Theme_Holo_Wallpaper_NoTitleBar


Default holographic (dark) for windows that want to have the user‘s selected wallpaper appear behind them and without an action bar.


Theme_InputMethod


Default theme for input methods (on API level 10 and lower), which is used by the InputMethodService class.


Theme_Light


Theme for a light background with dark text on top.


Theme_Light_NoTitleBar


Variant of Theme_Light with no title bar


Theme_Light_NoTitleBar_Fullscreen


Variant of Theme_Light that has no title bar and no status bar.


Theme_Light_Panel


Default light theme for panel windows (on API level 10 and lower).


Theme_Light_WallpaperSettings


Theme for a wallpaper‘s setting activity, which is designed to be a transparent background with a light shade, so the previous Activity is visible in the background.


Theme_NoDisplay


Default theme for activities that don‘t actually display a UI; that is, they finish themselves before being resumed.


Theme_NoTitleBar


Variant of Theme with no title bar


Theme_NoTitleBar_Fullscreen


Variant of Theme that has no title bar and no status bar.


Theme_NoTitleBar_OverlayActionModes


No title bar, but Action Mode bars will overlay application content instead of pushing it down to make room.


Theme_Panel


Default dark theme for panel windows (on API level 10 and lower).


Theme_Translucent


Theme for translucent activities (on API level 10 and lower).


Theme_Translucent_NoTitleBar


Variant of Theme_Translucent with no title bar


Theme_Translucent_NoTitleBar_Fullscreen


Variant of Theme_Translucent that has no title bar and no status bar


Theme_Wallpaper


Theme for windows that want to have the user‘s selected wallpaper appear behind them (for API level 10 and lower).


Theme_WallpaperSettings


Theme for a wallpaper‘s setting activity, which is designed to be a transparent background with a dark shade, so the previous Activity is visible in the background.


Theme_Wallpaper_NoTitleBar


Variant of Theme_Wallpaper that has no title bar


Theme_Wallpaper_NoTitleBar_Fullscreen


Variant of Theme_Wallpaper that has no title bar or status bar.


Theme_WithActionBar


Default theme with an Action Bar.

时间: 2024-08-25 15:31:59

Android 系统提供的主题的相关文章

android系统提供的几种颜色Color

记录一下android自带颜色. Constants public static final int BLACK Added in API level 1 Constant Value: -16777216 (0xff000000)        public static final int BLUE Added in API level 1 Constant Value: -16776961 (0xff0000ff)       public static final int CYAN Ad

Android系统提供的开发常用的包名及作用

android.app :提供高层的程序模型.提供基本的运行环境 android.content :包含各种的对设备上的数据进行访问和发布的类 android.database :通过内容提供者浏览和操作数据库 android.graphics :底层的图形库,包含画布,颜色过滤,点,矩形,可以将他们直接绘制到屏幕上. android.location :定位和相关服务的类 android.media :提供一些类管理多种音频.视频的媒体接口 android.net :提供帮助网络访问的类,超过

Android 系统UI设计规则

1. Android UI技巧 1.1 不该做什么 1.2 该做什么 2. Android UI 设计理念和注意事项 2.1 Android UI设计理念 2.2 优秀UI设计准则 2.3 设计需要考虑 3. Android UI 框架特性/界面布局 4. Android UI 图标设计原则 4.1 图标的尺寸规则和密度 4.2 图标的设计规则 5. Android UI 开发的GUI工具包,图标,字体和工具 5.1 视觉开发工具 5.2 Android 模板.PSD.矢量工具 5.3 Andr

Android系统简介

今天看到了一个介绍android的很不错的文章 ,转载到我的博客园里. 原文地址 http://www.cnblogs.com/cr330326/p/4229026.html 这篇的主题是”什么是Android“,关于Android的内容,从以下几点来介绍: Android系统架构 Andorid已发布的版本 Android应用特色 Android开发环境 Android程序结构 Logcat工具 Hello World 1,Android系统架构 有图有真相: 这是Android系统架构图,够

"浅谈Android"第一篇:Android系统简介

近来,看了一本书,名字叫做<第一行代码>,是CSDN一名博主写的,一本Android入门级的书,比较适合新手.看了书之后,有感而发,想来进行Android开发已经有一年多了,但欠缺系统化的学习,知识杂乱无章,没有条理和总结.因此,想想我是否可以尝试的写些文章,来对自己之前学过的知识和工作经验进行归纳和整理,整理出自己的知识体系呢.所以,就有这篇文章的诞生,如果其中理解不到位的地方,望园里的兄弟姐妹给予指出错误,我们共同讨论,一起进步.我一直相信一句话,好东西要分享,不断地分享,直至温暖整个世界

Android系统移植与驱动开发(二)

Android 移植开发的最终目的是开发手机产品.从开发者的角度来看,这种类型的开发以具有硬件系统为前提,在硬件系统的基础上构建 Android 软件系统.这种类型的开发工作在 Android 系统的底层.在软件系统方面,主要的工作集中在以下两个方面. (1)Linux 中的相关设备驱动程序  驱动程序是硬件和上层软件的接口.在 Android 手机系统中,需要基本的屏幕.触摸屏.键 盘等驱动程序,以及音频.摄像头.电话的 Modem.Wi-Fi.蓝牙等多种设备驱动程序. (2)Android 

第一章 Android系统移植与驱动开发概述

本书第一章首先简单概要地介绍了关于Android系统移植和驱动开发的相关内容. 所谓“移植”是指为特定的自己的设备,如手机定制Android的过程.自己开发一些程序(移植)装载在设备上,使得Android系统可以识别设备中的蓝牙,WiFi等,这样就可以使用这些功能了.这些程序大多是支持各种硬件设备的Linux驱动程序. 这一章中介绍了许多在进行Android系统移植和驱动开发前要了解的概念以及要做的准备.接下来主要说的是在Android系统移植过程中的主要工作. Android移植分为两部分:应

理解Android系统(一)

理解Android系统 Android 是业界流行的开源移动平台,受到广泛关注并为多个手机制造商作为手机的操作系统平台.由于它的开放性,市面上又出现了它的很多改良定制版本.且广泛的应用在手机.汽车.电脑等领域.因此,研究其安全架构及权限控制机制具有非常的重要性. 本章从 Android 层次化安全架构入手,详细地介绍 Android 平台的安全架构及其权限控制机制,涵盖 Android 应用程序权限申请方法等,并从源代码实现层面来解析该机制. 1.1 系统的层级架构 Android架构,其实就是

Android系统架构、JVM和DalvikVM的区别

一.系统框架 1.Anroid大致分为四层结构,五块区域 1)应用程序层(Applications) 所有安装在手机上的应用程序都属于这一层. 2)应用程序框架(Application Framework) 提供大量的API供开发人员使用,Android自带的一些核心应用就是使用这些API完成的. 3)函数库(Libraries) -Surface Manager:管理对显示子系统的访问,并可以对多个应用程序的2D和3D图层机提供无缝整合 -Media Framework:基于PacketVid