public static final class

R.style

extends Object
java.lang.Object
   ↳android.R.style

Summary

Constants
intAnimationBase style for animations.
intAnimation_ActivityStandard animations for a full-screen window or activity.
intAnimation_DialogStandard animations for a non-full-screen window or activity.
intAnimation_InputMethodWindow animations that are applied to input method overlay windows.
intAnimation_Toast
intAnimation_TranslucentStandard animations for a translucent window or activity.
intMediaButton
intMediaButton_Ffwd
intMediaButton_Next
intMediaButton_Pause
intMediaButton_Play
intMediaButton_Previous
intMediaButton_Rew
intTextAppearance
intTextAppearance_DialogWindowTitle
intTextAppearance_Inverse
intTextAppearance_Large
intTextAppearance_Large_Inverse
intTextAppearance_Medium
intTextAppearance_Medium_Inverse
intTextAppearance_Small
intTextAppearance_Small_Inverse
intTextAppearance_StatusBar_EventContent
intTextAppearance_StatusBar_EventContent_Title
intTextAppearance_StatusBar_Icon
intTextAppearance_StatusBar_Title
intTextAppearance_Theme
intTextAppearance_Theme_Dialog
intTextAppearance_Widget
intTextAppearance_Widget_Button
intTextAppearance_Widget_DropDownHint
intTextAppearance_Widget_DropDownItem
intTextAppearance_Widget_EditText
intTextAppearance_Widget_IconMenu_Item
intTextAppearance_Widget_TabWidget
intTextAppearance_Widget_TextView
intTextAppearance_Widget_TextView_PopupMenu
intTextAppearance_Widget_TextView_SpinnerItem
intTextAppearance_WindowTitle
intThemeThe default system theme.
intTheme_BlackSpecial variation on the default theme that ensures the background is completely black.
intTheme_Black_NoTitleBarVariant of the black theme with no title bar
intTheme_Black_NoTitleBar_FullscreenVariant of the black theme that has no title bar and fills the entire screen
intTheme_DialogDefault theme for dialog windows and activities, which is used by the Dialog class.
intTheme_InputMethodDefault theme for input methods, which is used by the InputMethodService class.
intTheme_LightTheme for a light background with dark text on top.
intTheme_Light_NoTitleBarVariant of the light theme with no title bar
intTheme_Light_NoTitleBar_FullscreenVariant of the light theme that has no title bar and fills the entire screen
intTheme_Light_PanelDefault light theme for panel windows.
intTheme_Light_WallpaperSettingsTheme for a wallpaper's setting activity that is designed to be on top of a light background.
intTheme_NoDisplayDefault theme for activities that don't actually display a UI; that is, they finish themselves before being resumed.
intTheme_NoTitleBarVariant of the default (dark) theme with no title bar
intTheme_NoTitleBar_FullscreenVariant of the default (dark) theme that has no title bar and fills the entire screen
intTheme_PanelDefault dark theme for panel windows.
intTheme_TranslucentDefault theme for translucent activities, that is windows that allow you to see through them to the windows behind.
intTheme_Translucent_NoTitleBarVariant of the translucent theme with no title bar
intTheme_Translucent_NoTitleBar_FullscreenVariant of the translucent theme that has no title bar and fills the entire screen
intTheme_WallpaperDefault theme for windows that want to have the user's selected wallpaper appear behind them.
intTheme_WallpaperSettingsTheme for a wallpaper's setting activity that is designed to be on top of a dark background.
intTheme_Wallpaper_NoTitleBarVariant of the translucent theme with no title bar
intTheme_Wallpaper_NoTitleBar_FullscreenVariant of the translucent theme that has no title bar and fills the entire screen
intWidgetWidget Styles
intWidget_AbsListView
intWidget_AutoCompleteTextView
intWidget_Button
intWidget_Button_Inset
intWidget_Button_Small
intWidget_Button_Toggle
intWidget_CompoundButton
intWidget_CompoundButton_CheckBox
intWidget_CompoundButton_RadioButton
intWidget_CompoundButton_Star
intWidget_DropDownItem
intWidget_DropDownItem_Spinner
intWidget_EditText
intWidget_ExpandableListView
intWidget_Gallery
intWidget_GridView
intWidget_ImageButton
intWidget_ImageWell
intWidget_KeyboardView
intWidget_ListView
intWidget_ListView_DropDown
intWidget_ListView_Menu
intWidget_ListView_White
intWidget_PopupWindow
intWidget_ProgressBar
intWidget_ProgressBar_Horizontal
intWidget_ProgressBar_Inverse
intWidget_ProgressBar_Large
intWidget_ProgressBar_Large_Inverse
intWidget_ProgressBar_Small
intWidget_ProgressBar_Small_Inverse
intWidget_RatingBar
intWidget_ScrollView
intWidget_SeekBar
intWidget_Spinner
intWidget_TabWidget
intWidget_TextView
intWidget_TextView_PopupMenu
intWidget_TextView_SpinnerItem
intWidget_WebView
Public Constructors
R.style()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int Animation

Since: API Level 1

Base style for animations. This style specifies no animations.

Constant Value: 16973824 (0x01030000)

public static final int Animation_Activity

Since: API Level 1

Standard animations for a full-screen window or activity.

Constant Value: 16973825 (0x01030001)

public static final int Animation_Dialog

Since: API Level 1

Standard animations for a non-full-screen window or activity.

Constant Value: 16973826 (0x01030002)

public static final int Animation_InputMethod

Since: API Level 5

Window animations that are applied to input method overlay windows.

Constant Value: 16973910 (0x01030056)

public static final int Animation_Toast

Since: API Level 1

Constant Value: 16973828 (0x01030004)

public static final int Animation_Translucent

Since: API Level 1

Standard animations for a translucent window or activity. This style is not used by default for the translucent theme (since translucent activities are a special case that have no clear UI paradigm), but you can make your own specialized theme with this animation style if you would like to have the standard platform transition animation.

Constant Value: 16973827 (0x01030003)

public static final int MediaButton

Since: API Level 1

Constant Value: 16973879 (0x01030037)

public static final int MediaButton_Ffwd

Since: API Level 1

Constant Value: 16973883 (0x0103003b)

public static final int MediaButton_Next

Since: API Level 1

Constant Value: 16973881 (0x01030039)

public static final int MediaButton_Pause

Since: API Level 1

Constant Value: 16973885 (0x0103003d)

public static final int MediaButton_Play

Since: API Level 1

Constant Value: 16973882 (0x0103003a)

public static final int MediaButton_Previous

Since: API Level 1

Constant Value: 16973880 (0x01030038)

public static final int MediaButton_Rew

Since: API Level 1

Constant Value: 16973884 (0x0103003c)

public static final int TextAppearance

Since: API Level 1

Constant Value: 16973886 (0x0103003e)

public static final int TextAppearance_DialogWindowTitle

Since: API Level 1

Constant Value: 16973889 (0x01030041)

public static final int TextAppearance_Inverse

Since: API Level 1

Constant Value: 16973887 (0x0103003f)

public static final int TextAppearance_Large

Since: API Level 1

Constant Value: 16973890 (0x01030042)

public static final int TextAppearance_Large_Inverse

Since: API Level 1

Constant Value: 16973891 (0x01030043)

public static final int TextAppearance_Medium

Since: API Level 1

Constant Value: 16973892 (0x01030044)

public static final int TextAppearance_Medium_Inverse

Since: API Level 1

Constant Value: 16973893 (0x01030045)

public static final int TextAppearance_Small

Since: API Level 1

Constant Value: 16973894 (0x01030046)

public static final int TextAppearance_Small_Inverse

Since: API Level 1

Constant Value: 16973895 (0x01030047)

public static final int TextAppearance_StatusBar_EventContent

Since: API Level 9

Constant Value: 16973927 (0x01030067)

public static final int TextAppearance_StatusBar_EventContent_Title

Since: API Level 9

Constant Value: 16973928 (0x01030068)

public static final int TextAppearance_StatusBar_Icon

Since: API Level 9

Constant Value: 16973926 (0x01030066)

public static final int TextAppearance_StatusBar_Title

Since: API Level 9

Constant Value: 16973925 (0x01030065)

public static final int TextAppearance_Theme

Since: API Level 1

Constant Value: 16973888 (0x01030040)

public static final int TextAppearance_Theme_Dialog

Since: API Level 1

Constant Value: 16973896 (0x01030048)

public static final int TextAppearance_Widget

Since: API Level 1

Constant Value: 16973897 (0x01030049)

public static final int TextAppearance_Widget_Button

Since: API Level 1

Constant Value: 16973898 (0x0103004a)

public static final int TextAppearance_Widget_DropDownHint

Since: API Level 1

Constant Value: 16973904 (0x01030050)

public static final int TextAppearance_Widget_DropDownItem

Since: API Level 1

Constant Value: 16973905 (0x01030051)

public static final int TextAppearance_Widget_EditText

Since: API Level 1

Constant Value: 16973900 (0x0103004c)

public static final int TextAppearance_Widget_IconMenu_Item

Since: API Level 1

Constant Value: 16973899 (0x0103004b)

public static final int TextAppearance_Widget_TabWidget

Since: API Level 1

Constant Value: 16973901 (0x0103004d)

public static final int TextAppearance_Widget_TextView

Since: API Level 1

Constant Value: 16973902 (0x0103004e)

public static final int TextAppearance_Widget_TextView_PopupMenu

Since: API Level 1

Constant Value: 16973903 (0x0103004f)

public static final int TextAppearance_Widget_TextView_SpinnerItem

Since: API Level 1

Constant Value: 16973906 (0x01030052)

public static final int TextAppearance_WindowTitle

Since: API Level 1

Constant Value: 16973907 (0x01030053)

public static final int Theme

Since: API Level 1

The default system theme. This is the theme used for activities that have not explicitly set their own theme.

You can count on this being a dark background with light text on top, but should try to make no other assumptions about its appearance. In particular, the text inside of widgets using this theme may be completely different, with the widget container being a light color and the text on top of it a dark color.

Constant Value: 16973829 (0x01030005)

public static final int Theme_Black

Since: API Level 1

Special variation on the default theme that ensures the background is completely black. This is useful for things like image viewers and media players. If you want the normal (dark background) theme do not use this, use Theme.

Constant Value: 16973832 (0x01030008)

public static final int Theme_Black_NoTitleBar

Since: API Level 1

Variant of the black theme with no title bar

Constant Value: 16973833 (0x01030009)

public static final int Theme_Black_NoTitleBar_Fullscreen

Since: API Level 1

Variant of the black theme that has no title bar and fills the entire screen

Constant Value: 16973834 (0x0103000a)

public static final int Theme_Dialog

Since: API Level 1

Default theme for dialog windows and activities, which is used by the Dialog class. This changes the window to be floating (not fill the entire screen), and puts a frame around its contents. You can set this theme on an activity if you would like to make an activity that looks like a Dialog.

Constant Value: 16973835 (0x0103000b)

public static final int Theme_InputMethod

Since: API Level 3

Default theme for input methods, which is used by the InputMethodService class. this inherits from Theme.NoTitleBar, but makes the background transparent, the window floating and translucent, and ensures that it does not dim the UI behind it. This also configures the window with the standard IME animations and visuals.

Constant Value: 16973908 (0x01030054)

public static final int Theme_Light

Since: API Level 1

Theme for a light background with dark text on top. Set your activity to this theme if you would like such an appearance. As with the default theme, you should try to assume little more than that the background will be a light color.

Constant Value: 16973836 (0x0103000c)

public static final int Theme_Light_NoTitleBar

Since: API Level 1

Variant of the light theme with no title bar

Constant Value: 16973837 (0x0103000d)

public static final int Theme_Light_NoTitleBar_Fullscreen

Since: API Level 1

Variant of the light theme that has no title bar and fills the entire screen

Constant Value: 16973838 (0x0103000e)

public static final int Theme_Light_Panel

Since: API Level 3

Default light theme for panel windows. This removes all extraneous window decorations, so you basically have an empty rectangle in which to place your content. It makes the window floating, with a transparent background, and turns off dimming behind the window.

Constant Value: 16973914 (0x0103005a)

public static final int Theme_Light_WallpaperSettings

Since: API Level 5

Theme for a wallpaper's setting activity that is designed to be on top of a light background.

Constant Value: 16973922 (0x01030062)

public static final int Theme_NoDisplay

Since: API Level 3

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

Constant Value: 16973909 (0x01030055)

public static final int Theme_NoTitleBar

Since: API Level 1

Variant of the default (dark) theme with no title bar

Constant Value: 16973830 (0x01030006)

public static final int Theme_NoTitleBar_Fullscreen

Since: API Level 1

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

Constant Value: 16973831 (0x01030007)

public static final int Theme_Panel

Since: API Level 3

Default dark theme for panel windows. This removes all extraneous window decorations, so you basically have an empty rectangle in which to place your content. It makes the window floating, with a transparent background, and turns off dimming behind the window.

Constant Value: 16973913 (0x01030059)

public static final int Theme_Translucent

Since: API Level 1

Default theme for translucent activities, that is windows that allow you to see through them to the windows behind. This sets up the translucent flag and appropriate animations for your windows.

Constant Value: 16973839 (0x0103000f)

public static final int Theme_Translucent_NoTitleBar

Since: API Level 1

Variant of the translucent theme with no title bar

Constant Value: 16973840 (0x01030010)

public static final int Theme_Translucent_NoTitleBar_Fullscreen

Since: API Level 1

Variant of the translucent theme that has no title bar and fills the entire screen

Constant Value: 16973841 (0x01030011)

public static final int Theme_Wallpaper

Since: API Level 5

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

Constant Value: 16973918 (0x0103005e)

public static final int Theme_WallpaperSettings

Since: API Level 5

Theme for a wallpaper's setting activity that is designed to be on top of a dark background.

Constant Value: 16973921 (0x01030061)

public static final int Theme_Wallpaper_NoTitleBar

Since: API Level 5

Variant of the translucent theme with no title bar

Constant Value: 16973919 (0x0103005f)

public static final int Theme_Wallpaper_NoTitleBar_Fullscreen

Since: API Level 5

Variant of the translucent theme that has no title bar and fills the entire screen

Constant Value: 16973920 (0x01030060)

public static final int Widget

Since: API Level 1

Widget Styles

Constant Value: 16973842 (0x01030012)

public static final int Widget_AbsListView

Since: API Level 1

Constant Value: 16973843 (0x01030013)

public static final int Widget_AutoCompleteTextView

Since: API Level 1

Constant Value: 16973863 (0x01030027)

public static final int Widget_Button

Since: API Level 1

Constant Value: 16973844 (0x01030014)

public static final int Widget_Button_Inset

Since: API Level 1

Constant Value: 16973845 (0x01030015)

public static final int Widget_Button_Small

Since: API Level 1

Constant Value: 16973846 (0x01030016)

public static final int Widget_Button_Toggle

Since: API Level 1

Constant Value: 16973847 (0x01030017)

public static final int Widget_CompoundButton

Since: API Level 1

Constant Value: 16973848 (0x01030018)

public static final int Widget_CompoundButton_CheckBox

Since: API Level 1

Constant Value: 16973849 (0x01030019)

public static final int Widget_CompoundButton_RadioButton

Since: API Level 1

Constant Value: 16973850 (0x0103001a)

public static final int Widget_CompoundButton_Star

Since: API Level 1

Constant Value: 16973851 (0x0103001b)

public static final int Widget_DropDownItem

Since: API Level 1

Constant Value: 16973867 (0x0103002b)

public static final int Widget_DropDownItem_Spinner

Since: API Level 1

Constant Value: 16973868 (0x0103002c)

public static final int Widget_EditText

Since: API Level 1

Constant Value: 16973859 (0x01030023)

public static final int Widget_ExpandableListView

Since: API Level 1

Constant Value: 16973860 (0x01030024)

public static final int Widget_Gallery

Since: API Level 1

Constant Value: 16973877 (0x01030035)

public static final int Widget_GridView

Since: API Level 1

Constant Value: 16973874 (0x01030032)

public static final int Widget_ImageButton

Since: API Level 1

Constant Value: 16973862 (0x01030026)

public static final int Widget_ImageWell

Since: API Level 1

Constant Value: 16973861 (0x01030025)

public static final int Widget_KeyboardView

Since: API Level 3

Constant Value: 16973911 (0x01030057)

public static final int Widget_ListView

Since: API Level 1

Constant Value: 16973870 (0x0103002e)

public static final int Widget_ListView_DropDown

Since: API Level 1

Constant Value: 16973872 (0x01030030)

public static final int Widget_ListView_Menu

Since: API Level 1

Constant Value: 16973873 (0x01030031)

public static final int Widget_ListView_White

Since: API Level 1

Constant Value: 16973871 (0x0103002f)

public static final int Widget_PopupWindow

Since: API Level 1

Constant Value: 16973878 (0x01030036)

public static final int Widget_ProgressBar

Since: API Level 1

Constant Value: 16973852 (0x0103001c)

public static final int Widget_ProgressBar_Horizontal

Since: API Level 1

Constant Value: 16973855 (0x0103001f)

public static final int Widget_ProgressBar_Inverse

Since: API Level 4

Constant Value: 16973915 (0x0103005b)

public static final int Widget_ProgressBar_Large

Since: API Level 1

Constant Value: 16973853 (0x0103001d)

public static final int Widget_ProgressBar_Large_Inverse

Since: API Level 4

Constant Value: 16973916 (0x0103005c)

public static final int Widget_ProgressBar_Small

Since: API Level 1

Constant Value: 16973854 (0x0103001e)

public static final int Widget_ProgressBar_Small_Inverse

Since: API Level 4

Constant Value: 16973917 (0x0103005d)

public static final int Widget_RatingBar

Since: API Level 1

Constant Value: 16973857 (0x01030021)

public static final int Widget_ScrollView

Since: API Level 1

Constant Value: 16973869 (0x0103002d)

public static final int Widget_SeekBar

Since: API Level 1

Constant Value: 16973856 (0x01030020)

public static final int Widget_Spinner

Since: API Level 1

Constant Value: 16973864 (0x01030028)

public static final int Widget_TabWidget

Since: API Level 1

Constant Value: 16973876 (0x01030034)

public static final int Widget_TextView

Since: API Level 1

Constant Value: 16973858 (0x01030022)

public static final int Widget_TextView_PopupMenu

Since: API Level 1

Constant Value: 16973865 (0x01030029)

public static final int Widget_TextView_SpinnerItem

Since: API Level 1

Constant Value: 16973866 (0x0103002a)

public static final int Widget_WebView

Since: API Level 1

Constant Value: 16973875 (0x01030033)

Public Constructors

public R.style ()

Since: API Level 1