public static final class

R.style

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

Summary

Constants
int Animation Base style for animations.
int Animation_Activity Standard animations for a full-screen window or activity.
int Animation_Dialog Standard animations for a non-full-screen window or activity.
int Animation_InputMethod Window animations that are applied to input method overlay windows.
int Animation_Toast
int Animation_Translucent Standard animations for a translucent window or activity.
int MediaButton
int MediaButton_Ffwd
int MediaButton_Next
int MediaButton_Pause
int MediaButton_Play
int MediaButton_Previous
int MediaButton_Rew
int TextAppearance
int TextAppearance_DialogWindowTitle
int TextAppearance_Inverse
int TextAppearance_Large
int TextAppearance_Large_Inverse
int TextAppearance_Medium
int TextAppearance_Medium_Inverse
int TextAppearance_Small
int TextAppearance_Small_Inverse
int TextAppearance_Theme
int TextAppearance_Theme_Dialog
int TextAppearance_Widget
int TextAppearance_Widget_Button
int TextAppearance_Widget_DropDownHint
int TextAppearance_Widget_DropDownItem
int TextAppearance_Widget_EditText
int TextAppearance_Widget_IconMenu_Item
int TextAppearance_Widget_TabWidget
int TextAppearance_Widget_TextView
int TextAppearance_Widget_TextView_PopupMenu
int TextAppearance_Widget_TextView_SpinnerItem
int TextAppearance_WindowTitle
int Theme The default system theme.
int Theme_Black Special variation on the default theme that ensures the background is completely black.
int Theme_Black_NoTitleBar Variant of the black theme with no title bar
int Theme_Black_NoTitleBar_Fullscreen Variant of the black theme that has no title bar and fills the entire screen
int Theme_Dialog Default theme for dialog windows and activities, which is used by the Dialog class.
int Theme_InputMethod Default theme for input methods, which is used by the InputMethodService class.
int Theme_Light Theme for a light background with dark text on top.
int Theme_Light_NoTitleBar Variant of the light theme with no title bar
int Theme_Light_NoTitleBar_Fullscreen Variant of the light theme that has no title bar and fills the entire screen
int Theme_Light_Panel Default light theme for panel windows.
int Theme_Light_WallpaperSettings Theme for a wallpaper's setting activity that is designed to be on top of a light background.
int Theme_NoDisplay Default theme for activities that don't actually display a UI; that is, they finish themselves before being resumed.
int Theme_NoTitleBar Variant of the default (dark) theme with no title bar
int Theme_NoTitleBar_Fullscreen Variant of the default (dark) theme that has no title bar and fills the entire screen
int Theme_Panel Default dark theme for panel windows.
int Theme_Translucent Default theme for translucent activities, that is windows that allow you to see through them to the windows behind.
int Theme_Translucent_NoTitleBar Variant of the translucent theme with no title bar
int Theme_Translucent_NoTitleBar_Fullscreen Variant of the translucent theme that has no title bar and fills the entire screen
int Theme_Wallpaper Default theme for windows that want to have the user's selected wallpaper appear behind them.
int Theme_WallpaperSettings Theme for a wallpaper's setting activity that is designed to be on top of a dark background.
int Theme_Wallpaper_NoTitleBar Variant of the translucent theme with no title bar
int Theme_Wallpaper_NoTitleBar_Fullscreen Variant of the translucent theme that has no title bar and fills the entire screen
int Widget Widget Styles
int Widget_AbsListView
int Widget_AutoCompleteTextView
int Widget_Button
int Widget_Button_Inset
int Widget_Button_Small
int Widget_Button_Toggle
int Widget_CompoundButton
int Widget_CompoundButton_CheckBox
int Widget_CompoundButton_RadioButton
int Widget_CompoundButton_Star
int Widget_DropDownItem
int Widget_DropDownItem_Spinner
int Widget_EditText
int Widget_ExpandableListView
int Widget_Gallery
int Widget_GridView
int Widget_ImageButton
int Widget_ImageWell
int Widget_KeyboardView
int Widget_ListView
int Widget_ListView_DropDown
int Widget_ListView_Menu
int Widget_ListView_White
int Widget_PopupWindow
int Widget_ProgressBar
int Widget_ProgressBar_Horizontal
int Widget_ProgressBar_Inverse
int Widget_ProgressBar_Large
int Widget_ProgressBar_Large_Inverse
int Widget_ProgressBar_Small
int Widget_ProgressBar_Small_Inverse
int Widget_RatingBar
int Widget_ScrollView
int Widget_SeekBar
int Widget_Spinner
int Widget_TabWidget
int Widget_TextView
int Widget_TextView_PopupMenu
int Widget_TextView_SpinnerItem
int Widget_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_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