Android 系统提供的主题
Posted teamlet
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android 系统提供的主题相关的知识,希望对你有一定的参考价值。
android.R.style 列举了系统提供的样式主题。
在 xml 文件中,作为属性值使用时,需要将主题名称中的 "_"(短横)改为 .(点)。
The default theme for apps on API level 10 and lower. | |
Variant on Theme that ensures the background is completely black. | |
Variant of Theme_Black with no title bar | |
Variant of Theme_Black that has no title bar and no status bar. | |
The default theme for apps that target API level 14 and higher. | |
DeviceDefault theme for dialog windows and activities. | |
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). | |
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). | |
Variant of Theme_DeviceDefault_Dialog that has a nice minimum width for a regular dialog. | |
Variant of Theme_DeviceDefault_Dialog without an action bar | |
Variant of Theme_DeviceDefault_Dialog_NoActionBarthat has a nice minimum width for a regular dialog. | |
DeviceDefault style for input methods, which is used by the InputMethodService class. | |
Variant of Theme_DeviceDefault with a light-colored style | |
Variant of the DeviceDefault (light) theme that has a solid (opaque) action bar with an inverse color profile. | |
DeviceDefault light theme for dialog windows and activities. | |
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). | |
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). | |
Variant of Theme_DeviceDefault_Light_Dialog that has a nice minimum width for a regular dialog. | |
Variant of Theme_DeviceDefault_Light_Dialog without an action bar | |
Variant ofTheme_DeviceDefault_Light_Dialog_NoActionBar that has a nice minimum width for a regular dialog. | |
Variant of Theme_DeviceDefault_Light with no action bar | |
Variant of Theme_DeviceDefault_Light with no action bar and no status bar. | |
Variant of Theme_DeviceDefault_Light with no action bar and no status bar and extending in to overscan region. | |
Variant of Theme_DeviceDefault_Light that has no title bar and translucent system decor. | |
DeviceDefault light theme for panel windows. | |
Variant of Theme_DeviceDefault with no action bar | |
Variant of Theme_DeviceDefault with no action bar and no status bar. | |
Variant of Theme_DeviceDefault with no action bar and no status bar and extending in to overscan region. | |
Variant of Theme_DeviceDefault that has no title bar and translucent system decor. | |
DeviceDefault theme for panel windows. | |
DeviceDefault theme for windows that want to have the user‘s selected wallpaper appear behind them. | |
DeviceDefault theme for windows that want to have the user‘s selected wallpaper appear behind them and without an action bar. | |
Default theme for dialog windows and activities (on API level 10 and lower), which is used by the Dialog class. | |
Honeycomb holographic theme (dark version). | |
Holo theme for dialog windows and activities, which is used by the Dialog class. | |
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 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). | |
Variant of Theme.Holo.Dialog that has a nice minimum width for a regular dialog. | |
Variant of Theme.Holo.Dialog that does not include a title bar. | |
Variant of Theme.Holo.Dialog.NoActionBar that has a nice minimum width for a regular dialog. | |
Default theme for holo style input methods, which is used by the InputMethodService class. | |
Honeycomb holographic theme (light version). | |
Variant of the holographic (light) theme that has a solid (opaque) action bar with an inverse color profile. | |
Light holo dialog themes Holo light theme for dialog windows and activities, which is used by the Dialogclass. | |
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 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). | |
Variant of Theme.Holo.Light.Dialog that has a nice minimum width for a regular dialog. | |
Variant of Theme.Holo.Light.Dialog that does not include a title bar. | |
Variant of Theme.Holo.Light.Dialog.NoActionBar that has a nice minimum width for a regular dialog. | |
Variant of the holographic (light) theme with no action bar. | |
Variant of the holographic (light) theme that has no title bar and fills the entire screen. | |
Variant of the holographic (light) theme that has no title bar and fills the entire screen and extends into the display overscan region. | |
Variant of the holographic (light) theme that has no title bar and translucent system decor. | |
Default holo light theme for panel windows. | |
Variant of the holographic (dark) theme with no action bar. | |
Variant of the holographic (dark) theme that has no title bar and fills the entire screen. | |
Variant of the holographic (dark) theme that has no title bar and fills the entire screen and extends into the display overscan region. | |
Variant of the holographic (dark) theme that has no title bar and translucent system decor. | |
Default holo dark theme for panel windows. | |
Default holographic (dark) for windows that want to have the user‘s selected wallpaper appear behind them. | |
Default holographic (dark) for windows that want to have the user‘s selected wallpaper appear behind them and without an action bar. | |
Default theme for input methods (on API level 10 and lower), which is used by the InputMethodService class. | |
Theme for a light background with dark text on top. | |
Variant of Theme_Light with no title bar | |
Variant of Theme_Light that has no title bar and no status bar. | |
Default light theme for panel windows (on API level 10 and lower). | |
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. | |
Default theme for activities that don‘t actually display a UI; that is, they finish themselves before being resumed. | |
Variant of Theme with no title bar | |
Variant of Theme that has no title bar and no status bar. | |
No title bar, but Action Mode bars will overlay application content instead of pushing it down to make room. | |
Default dark theme for panel windows (on API level 10 and lower). | |
Theme for translucent activities (on API level 10 and lower). | |
Variant of Theme_Translucent with no title bar | |
Variant of Theme_Translucent that has no title bar and no status bar | |
Theme for windows that want to have the user‘s selected wallpaper appear behind them (for API level 10 and lower). | |
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. | |
Variant of Theme_Wallpaper that has no title bar | |
Variant of Theme_Wallpaper that has no title bar or status bar. | |
Default theme with an Action Bar. |
以上是关于Android 系统提供的主题的主要内容,如果未能解决你的问题,请参考以下文章