Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

R.style

extends Object
java.lang.Object
   ↳ android.support.v7.appcompat.R.style

Summary

Fields
public static int TextAppearance_AppCompat_Base_CompactMenu_Dialog Mimic text appearance in select_dialog_item.xml
public static int TextAppearance_AppCompat_Base_SearchResult
public static int TextAppearance_AppCompat_Base_SearchResult_Subtitle
public static int TextAppearance_AppCompat_Base_SearchResult_Title Search View result styles
public static int TextAppearance_AppCompat_Base_Widget_PopupMenu_Large
public static int TextAppearance_AppCompat_Base_Widget_PopupMenu_Small
public static int TextAppearance_AppCompat_Light_Base_SearchResult
public static int TextAppearance_AppCompat_Light_Base_SearchResult_Subtitle
public static int TextAppearance_AppCompat_Light_Base_SearchResult_Title TextAppearance.Holo.Light.SearchResult.* are private so we extend from the default versions instead (which are exactly the same).
public static int TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Large
public static int TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Small
public static int TextAppearance_AppCompat_Light_SearchResult_Subtitle
public static int TextAppearance_AppCompat_Light_SearchResult_Title
public static int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large
public static int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small
public static int TextAppearance_AppCompat_SearchResult_Subtitle
public static int TextAppearance_AppCompat_SearchResult_Title
public static int TextAppearance_AppCompat_Widget_ActionBar_Menu
public static int TextAppearance_AppCompat_Widget_ActionBar_Subtitle
public static int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse
public static int TextAppearance_AppCompat_Widget_ActionBar_Title
public static int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse
public static int TextAppearance_AppCompat_Widget_ActionMode_Subtitle
public static int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse
public static int TextAppearance_AppCompat_Widget_ActionMode_Title
public static int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse
public static int TextAppearance_AppCompat_Widget_Base_ActionBar_Menu
public static int TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle
public static int TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle_Inverse
public static int TextAppearance_AppCompat_Widget_Base_ActionBar_Title
public static int TextAppearance_AppCompat_Widget_Base_ActionBar_Title_Inverse
public static int TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle
public static int TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle_Inverse
public static int TextAppearance_AppCompat_Widget_Base_ActionMode_Title
public static int TextAppearance_AppCompat_Widget_Base_ActionMode_Title_Inverse
public static int TextAppearance_AppCompat_Widget_Base_DropDownItem
public static int TextAppearance_AppCompat_Widget_DropDownItem
public static int TextAppearance_AppCompat_Widget_PopupMenu_Large
public static int TextAppearance_AppCompat_Widget_PopupMenu_Small
public static int TextAppearance_Widget_AppCompat_Base_ExpandedMenu_Item
public static int TextAppearance_Widget_AppCompat_ExpandedMenu_Item
public static int Theme_AppCompat Themes in the "Theme.AppCompat" family will contain an action bar by default.
public static int Theme_AppCompat_Base_CompactMenu Menu/item attributes
public static int Theme_AppCompat_Base_CompactMenu_Dialog
public static int Theme_AppCompat_CompactMenu Menu/item attributes
public static int Theme_AppCompat_CompactMenu_Dialog
public static int Theme_AppCompat_DialogWhenLarge
public static int Theme_AppCompat_Light Platform-independent theme providing an action bar in a light-themed activity.
public static int Theme_AppCompat_Light_DarkActionBar Platform-independent theme providing an action bar in a dark-themed activity.
public static int Theme_AppCompat_Light_DialogWhenLarge
public static int Theme_Base Base platform-dependent theme
public static int Theme_Base_AppCompat Base platform-dependent theme providing an action bar in a dark-themed activity.
public static int Theme_Base_AppCompat_DialogWhenLarge
public static int Theme_Base_AppCompat_DialogWhenLarge_Base As we have defined the theme in values-large (for compat) and values-large takes precedence over values-v14, we need to reset back to the Holo parent in values-large-v14.
public static int Theme_Base_AppCompat_Dialog_FixedSize
public static int Theme_Base_AppCompat_Dialog_Light_FixedSize
public static int Theme_Base_AppCompat_Light Base platform-dependent theme providing an action bar in a light-themed activity.
public static int Theme_Base_AppCompat_Light_DarkActionBar Base platform-dependent theme providing a dark action bar in a light-themed activity.
public static int Theme_Base_AppCompat_Light_DialogWhenLarge
public static int Theme_Base_AppCompat_Light_DialogWhenLarge_Base
public static int Theme_Base_Light Base platform-dependent theme providing a light-themed activity.
public static int Widget_AppCompat_ActionBar Styles in here can be extended for customisation in your application.
public static int Widget_AppCompat_ActionBar_Solid
public static int Widget_AppCompat_ActionBar_TabBar
public static int Widget_AppCompat_ActionBar_TabText
public static int Widget_AppCompat_ActionBar_TabView
public static int Widget_AppCompat_ActionButton
public static int Widget_AppCompat_ActionButton_CloseMode
public static int Widget_AppCompat_ActionButton_Overflow
public static int Widget_AppCompat_ActionMode
public static int Widget_AppCompat_ActivityChooserView
public static int Widget_AppCompat_AutoCompleteTextView
public static int Widget_AppCompat_Base_ActionBar
public static int Widget_AppCompat_Base_ActionBar_Solid
public static int Widget_AppCompat_Base_ActionBar_TabBar
public static int Widget_AppCompat_Base_ActionBar_TabText
public static int Widget_AppCompat_Base_ActionBar_TabView
public static int Widget_AppCompat_Base_ActionButton Action Button Styles
public static int Widget_AppCompat_Base_ActionButton_CloseMode
public static int Widget_AppCompat_Base_ActionButton_Overflow
public static int Widget_AppCompat_Base_ActionMode
public static int Widget_AppCompat_Base_ActivityChooserView
public static int Widget_AppCompat_Base_AutoCompleteTextView AutoCompleteTextView styles (for SearchView)
public static int Widget_AppCompat_Base_DropDownItem_Spinner
public static int Widget_AppCompat_Base_ListPopupWindow Popup Menu
public static int Widget_AppCompat_Base_ListView_DropDown Spinner Widgets
public static int Widget_AppCompat_Base_ListView_Menu
public static int Widget_AppCompat_Base_PopupMenu
public static int Widget_AppCompat_Base_ProgressBar
public static int Widget_AppCompat_Base_ProgressBar_Horizontal Progress Bar
public static int Widget_AppCompat_Base_Spinner Action Bar Spinner Widgets
public static int Widget_AppCompat_DropDownItem_Spinner
public static int Widget_AppCompat_Light_ActionBar
public static int Widget_AppCompat_Light_ActionBar_Solid
public static int Widget_AppCompat_Light_ActionBar_Solid_Inverse
public static int Widget_AppCompat_Light_ActionBar_TabBar
public static int Widget_AppCompat_Light_ActionBar_TabBar_Inverse
public static int Widget_AppCompat_Light_ActionBar_TabText
public static int Widget_AppCompat_Light_ActionBar_TabText_Inverse
public static int Widget_AppCompat_Light_ActionBar_TabView
public static int Widget_AppCompat_Light_ActionBar_TabView_Inverse
public static int Widget_AppCompat_Light_ActionButton
public static int Widget_AppCompat_Light_ActionButton_CloseMode
public static int Widget_AppCompat_Light_ActionButton_Overflow
public static int Widget_AppCompat_Light_ActionMode_Inverse
public static int Widget_AppCompat_Light_ActivityChooserView
public static int Widget_AppCompat_Light_AutoCompleteTextView
public static int Widget_AppCompat_Light_Base_ActionBar
public static int Widget_AppCompat_Light_Base_ActionBar_Solid
public static int Widget_AppCompat_Light_Base_ActionBar_Solid_Inverse
public static int Widget_AppCompat_Light_Base_ActionBar_TabBar
public static int Widget_AppCompat_Light_Base_ActionBar_TabBar_Inverse
public static int Widget_AppCompat_Light_Base_ActionBar_TabText
public static int Widget_AppCompat_Light_Base_ActionBar_TabText_Inverse
public static int Widget_AppCompat_Light_Base_ActionBar_TabView
public static int Widget_AppCompat_Light_Base_ActionBar_TabView_Inverse
public static int Widget_AppCompat_Light_Base_ActionButton
public static int Widget_AppCompat_Light_Base_ActionButton_CloseMode
public static int Widget_AppCompat_Light_Base_ActionButton_Overflow
public static int Widget_AppCompat_Light_Base_ActionMode_Inverse
public static int Widget_AppCompat_Light_Base_ActivityChooserView
public static int Widget_AppCompat_Light_Base_AutoCompleteTextView
public static int Widget_AppCompat_Light_Base_DropDownItem_Spinner
public static int Widget_AppCompat_Light_Base_ListPopupWindow
public static int Widget_AppCompat_Light_Base_ListView_DropDown
public static int Widget_AppCompat_Light_Base_PopupMenu
public static int Widget_AppCompat_Light_Base_Spinner
public static int Widget_AppCompat_Light_DropDownItem_Spinner
public static int Widget_AppCompat_Light_ListPopupWindow
public static int Widget_AppCompat_Light_ListView_DropDown
public static int Widget_AppCompat_Light_PopupMenu
public static int Widget_AppCompat_Light_Spinner_DropDown_ActionBar
public static int Widget_AppCompat_ListPopupWindow
public static int Widget_AppCompat_ListView_DropDown
public static int Widget_AppCompat_ListView_Menu
public static int Widget_AppCompat_PopupMenu
public static int Widget_AppCompat_ProgressBar
public static int Widget_AppCompat_ProgressBar_Horizontal
public static int Widget_AppCompat_Spinner_DropDown_ActionBar
Public Constructors
R.style ()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static int TextAppearance_AppCompat_Base_CompactMenu_Dialog

Mimic text appearance in select_dialog_item.xml

public static int TextAppearance_AppCompat_Base_SearchResult

public static int TextAppearance_AppCompat_Base_SearchResult_Subtitle

public static int TextAppearance_AppCompat_Base_SearchResult_Title

Search View result styles

public static int TextAppearance_AppCompat_Base_Widget_PopupMenu_Large

public static int TextAppearance_AppCompat_Base_Widget_PopupMenu_Small

public static int TextAppearance_AppCompat_Light_Base_SearchResult

public static int TextAppearance_AppCompat_Light_Base_SearchResult_Subtitle

public static int TextAppearance_AppCompat_Light_Base_SearchResult_Title

TextAppearance.Holo.Light.SearchResult.* are private so we extend from the default versions instead (which are exactly the same).

public static int TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Large

public static int TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Small

public static int TextAppearance_AppCompat_Light_SearchResult_Subtitle

public static int TextAppearance_AppCompat_Light_SearchResult_Title

public static int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large

public static int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small

public static int TextAppearance_AppCompat_SearchResult_Subtitle

public static int TextAppearance_AppCompat_SearchResult_Title

public static int TextAppearance_AppCompat_Widget_ActionBar_Menu

public static int TextAppearance_AppCompat_Widget_ActionBar_Subtitle

public static int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse

public static int TextAppearance_AppCompat_Widget_ActionBar_Title

public static int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse

public static int TextAppearance_AppCompat_Widget_ActionMode_Subtitle

public static int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse

public static int TextAppearance_AppCompat_Widget_ActionMode_Title

public static int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse

public static int TextAppearance_AppCompat_Widget_Base_ActionBar_Menu

public static int TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle

public static int TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle_Inverse

public static int TextAppearance_AppCompat_Widget_Base_ActionBar_Title

public static int TextAppearance_AppCompat_Widget_Base_ActionBar_Title_Inverse

public static int TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle

public static int TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle_Inverse

public static int TextAppearance_AppCompat_Widget_Base_ActionMode_Title

public static int TextAppearance_AppCompat_Widget_Base_ActionMode_Title_Inverse

public static int TextAppearance_AppCompat_Widget_Base_DropDownItem

public static int TextAppearance_AppCompat_Widget_DropDownItem

public static int TextAppearance_AppCompat_Widget_PopupMenu_Large

public static int TextAppearance_AppCompat_Widget_PopupMenu_Small

public static int TextAppearance_Widget_AppCompat_Base_ExpandedMenu_Item

public static int TextAppearance_Widget_AppCompat_ExpandedMenu_Item

public static int Theme_AppCompat

Themes in the "Theme.AppCompat" family will contain an action bar by default. If Holo themes are available on the current platform version they will be used. A limited Holo-styled action bar will be provided on platform versions older than 3.0. (API 11) These theme declarations contain any version-independent specification. Items that need to vary based on platform version should be defined in the corresponding "Theme.Base" theme. Platform-independent theme providing an action bar in a dark-themed activity.

public static int Theme_AppCompat_Base_CompactMenu

Menu/item attributes

public static int Theme_AppCompat_Base_CompactMenu_Dialog

public static int Theme_AppCompat_CompactMenu

Menu/item attributes

public static int Theme_AppCompat_CompactMenu_Dialog

public static int Theme_AppCompat_DialogWhenLarge

public static int Theme_AppCompat_Light

Platform-independent theme providing an action bar in a light-themed activity.

public static int Theme_AppCompat_Light_DarkActionBar

Platform-independent theme providing an action bar in a dark-themed activity.

public static int Theme_AppCompat_Light_DialogWhenLarge

public static int Theme_Base

Base platform-dependent theme

public static int Theme_Base_AppCompat

Base platform-dependent theme providing an action bar in a dark-themed activity. Base platform-dependent theme providing an action bar in a dark-themed activity.

public static int Theme_Base_AppCompat_DialogWhenLarge

public static int Theme_Base_AppCompat_DialogWhenLarge_Base

As we have defined the theme in values-large (for compat) and values-large takes precedence over values-v14, we need to reset back to the Holo parent in values-large-v14. As the themes in values-v14 & values-large-v14 are exactly the same, these "double base" themes can be inherited from in both values-v14 and values-large-v14.

public static int Theme_Base_AppCompat_Dialog_FixedSize

public static int Theme_Base_AppCompat_Dialog_Light_FixedSize

public static int Theme_Base_AppCompat_Light

Base platform-dependent theme providing an action bar in a light-themed activity. Base platform-dependent theme providing an action bar in a light-themed activity.

public static int Theme_Base_AppCompat_Light_DarkActionBar

Base platform-dependent theme providing a dark action bar in a light-themed activity. Base platform-dependent theme providing a dark action bar in a light-themed activity.

public static int Theme_Base_AppCompat_Light_DialogWhenLarge

public static int Theme_Base_AppCompat_Light_DialogWhenLarge_Base

public static int Theme_Base_Light

Base platform-dependent theme providing a light-themed activity.

public static int Widget_AppCompat_ActionBar

Styles in here can be extended for customisation in your application. Each utilises one of the Base styles. If Holo themes are available on the current platform version they will be used instead of the compat styles.

public static int Widget_AppCompat_ActionBar_Solid

public static int Widget_AppCompat_ActionBar_TabBar

public static int Widget_AppCompat_ActionBar_TabText

public static int Widget_AppCompat_ActionBar_TabView

public static int Widget_AppCompat_ActionButton

public static int Widget_AppCompat_ActionButton_CloseMode

public static int Widget_AppCompat_ActionButton_Overflow

public static int Widget_AppCompat_ActionMode

public static int Widget_AppCompat_ActivityChooserView

public static int Widget_AppCompat_AutoCompleteTextView

public static int Widget_AppCompat_Base_ActionBar

public static int Widget_AppCompat_Base_ActionBar_Solid

public static int Widget_AppCompat_Base_ActionBar_TabBar

public static int Widget_AppCompat_Base_ActionBar_TabText

public static int Widget_AppCompat_Base_ActionBar_TabView

public static int Widget_AppCompat_Base_ActionButton

Action Button Styles

public static int Widget_AppCompat_Base_ActionButton_CloseMode

public static int Widget_AppCompat_Base_ActionButton_Overflow

public static int Widget_AppCompat_Base_ActionMode

public static int Widget_AppCompat_Base_ActivityChooserView

public static int Widget_AppCompat_Base_AutoCompleteTextView

AutoCompleteTextView styles (for SearchView)

public static int Widget_AppCompat_Base_DropDownItem_Spinner

public static int Widget_AppCompat_Base_ListPopupWindow

Popup Menu

public static int Widget_AppCompat_Base_ListView_DropDown

Spinner Widgets

public static int Widget_AppCompat_Base_ListView_Menu

public static int Widget_AppCompat_Base_PopupMenu

public static int Widget_AppCompat_Base_ProgressBar

public static int Widget_AppCompat_Base_ProgressBar_Horizontal

Progress Bar

public static int Widget_AppCompat_Base_Spinner

Action Bar Spinner Widgets

public static int Widget_AppCompat_DropDownItem_Spinner

public static int Widget_AppCompat_Light_ActionBar

public static int Widget_AppCompat_Light_ActionBar_Solid

public static int Widget_AppCompat_Light_ActionBar_Solid_Inverse

public static int Widget_AppCompat_Light_ActionBar_TabBar

public static int Widget_AppCompat_Light_ActionBar_TabBar_Inverse

public static int Widget_AppCompat_Light_ActionBar_TabText

public static int Widget_AppCompat_Light_ActionBar_TabText_Inverse

public static int Widget_AppCompat_Light_ActionBar_TabView

public static int Widget_AppCompat_Light_ActionBar_TabView_Inverse

public static int Widget_AppCompat_Light_ActionButton

public static int Widget_AppCompat_Light_ActionButton_CloseMode

public static int Widget_AppCompat_Light_ActionButton_Overflow

public static int Widget_AppCompat_Light_ActionMode_Inverse

public static int Widget_AppCompat_Light_ActivityChooserView

public static int Widget_AppCompat_Light_AutoCompleteTextView

public static int Widget_AppCompat_Light_Base_ActionBar

public static int Widget_AppCompat_Light_Base_ActionBar_Solid

public static int Widget_AppCompat_Light_Base_ActionBar_Solid_Inverse

public static int Widget_AppCompat_Light_Base_ActionBar_TabBar

public static int Widget_AppCompat_Light_Base_ActionBar_TabBar_Inverse

public static int Widget_AppCompat_Light_Base_ActionBar_TabText

public static int Widget_AppCompat_Light_Base_ActionBar_TabText_Inverse

public static int Widget_AppCompat_Light_Base_ActionBar_TabView

public static int Widget_AppCompat_Light_Base_ActionBar_TabView_Inverse

public static int Widget_AppCompat_Light_Base_ActionButton

public static int Widget_AppCompat_Light_Base_ActionButton_CloseMode

public static int Widget_AppCompat_Light_Base_ActionButton_Overflow

public static int Widget_AppCompat_Light_Base_ActionMode_Inverse

public static int Widget_AppCompat_Light_Base_ActivityChooserView

public static int Widget_AppCompat_Light_Base_AutoCompleteTextView

public static int Widget_AppCompat_Light_Base_DropDownItem_Spinner

public static int Widget_AppCompat_Light_Base_ListPopupWindow

public static int Widget_AppCompat_Light_Base_ListView_DropDown

public static int Widget_AppCompat_Light_Base_PopupMenu

public static int Widget_AppCompat_Light_Base_Spinner

public static int Widget_AppCompat_Light_DropDownItem_Spinner

public static int Widget_AppCompat_Light_ListPopupWindow

public static int Widget_AppCompat_Light_ListView_DropDown

public static int Widget_AppCompat_Light_PopupMenu

public static int Widget_AppCompat_Light_Spinner_DropDown_ActionBar

public static int Widget_AppCompat_ListPopupWindow

public static int Widget_AppCompat_ListView_DropDown

public static int Widget_AppCompat_ListView_Menu

public static int Widget_AppCompat_PopupMenu

public static int Widget_AppCompat_ProgressBar

public static int Widget_AppCompat_ProgressBar_Horizontal

public static int Widget_AppCompat_Spinner_DropDown_ActionBar

Public Constructors

public R.style ()