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. |