资源文件中,由<style>标签定义的样式可以改变控件的颜色、字体大小等渲显示效果。比如下面的样式将控件中的文字颜色设置为红色。
<resources>
<style name="RedText" parent="TextApperence.AppCompat">
<item name="android:textColor">#FF0000</item>
</style>
</resources>
从这例子可以看出,样式是一个具有层次结构的控件属性集合。每个<style>标签可以有多个<item>子标签,而每个<item>标签定义了一个属性值。同时各个<style>通过name和parent构成一个层次结构,子类样式继承父类样式中的属性。<style>的继承有两种方式。一种是前面提到的parent属性,另一种是通过名字空间实现隐式继承。比如<style name="a.b.c.d" …>继承自<style name="a.b.c" …>。通过设置控件的属性style可以将样式中的属性应用到控件上,比如<TextView style="@style/my_style" …>。如果希望将样式应用到程序或Activity中的所有控件上,可以设置AndroidManifest.xml中<application>或<activity>的属性android:theme,如<application android:theme="@style/my_style" …>。这时这个样式也叫做主题。
Theme.MaterialComponents.Light.NoActionBar继承层级
| 样式 | 包 | 文件 |
|---|---|---|
| Theme.MaterialComponents.Light.NoActionBar | com.google.android.material:material | res/values/values.xml |
| Theme.MaterialComponents.Light | com.google.android.material:material | res/values/values.xml |
| Base.Theme.MaterialComponents.Light | com.google.android.material:material | res/values/values.xml |
| Base.V14.Theme.MaterialComponents.Light | com.google.android.material:material | res/values/values.xml |
| Base.V14.Theme.MaterialComponents.Light.Bridge | com.google.android.material:material | res/values/values.xml |
| Platform.MaterialComponents.Light | com.google.android.material:material | res/values/values.xml |
| Theme.AppCompat.Light | androidx.appcompat:appcompat | res/values/values.xml |
| Base.Theme.AppCompat.Light | androidx.appcompat:appcompat | res/values/values.xml |
| Base.V7.Theme.AppCompat.Light | androidx.appcompat:appcompat | res/values/values.xml |
| Base.V7.Theme.AppCompat.Light | androidx.appcompat:appcompat | res/values/values.xml |
| Platform.AppCompat.Light | androidx.appcompat:appcompat | res/values/values.xml |
| Theme.Holo.Light | android sdk | res/values/themes_holo.xml |
| Theme.Light | android sdk | res/values/themes.xml |
Theme.MaterialComponents.Light.NoActionBar属性
| 属性 | |
|---|---|
| absListViewStyle | @style/Widget.Holo.Light.AbsListView |
| actionBarDivider | ?attr/dividerVertical |
| actionBarItemBackground | ?attr/selectableItemBackgroundBorderless |
| actionBarPopupTheme | ?attr/popupTheme |
| actionBarPopupTheme | @null |
| actionBarSize | @dimen/abc_action_bar_default_height_material |
| actionBarSize | @dimen/action_bar_default_height |
| actionBarSplitStyle | ?attr/actionBarStyle |
| actionBarStyle | @style/Widget.AppCompat.Light.ActionBar.Solid |
| actionBarStyle | @style/Widget.Holo.Light.ActionBar.Solid |
| actionBarTabBarStyle | @style/Widget.AppCompat.Light.ActionBar.TabBar |
| actionBarTabBarStyle | @style/Widget.Holo.Light.ActionBar.TabBar |
| actionBarTabStyle | @style/Widget.AppCompat.Light.ActionBar.TabView |
| actionBarTabStyle | @style/Widget.Holo.Light.ActionBar.TabView |
| actionBarTabTextStyle | @style/Widget.AppCompat.Light.ActionBar.TabText |
| actionBarTabTextStyle | @style/Widget.Holo.Light.ActionBar.TabText |
| actionBarTheme | @null |
| actionBarTheme | @style/ThemeOverlay.AppCompat.ActionBar |
| actionBarWidgetTheme | @null |
| actionBarWidgetTheme | @null |
| actionButtonStyle | @style/Widget.AppCompat.Light.ActionButton |
| actionButtonStyle | @style/Widget.Holo.Light.ActionButton |
| actionDropDownStyle | @style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar |
| actionDropDownStyle | @style/Widget.Holo.Light.Spinner.DropDown.ActionBar |
| actionMenuTextAppearance | @style/TextAppearance.AppCompat.Widget.ActionBar.Menu |
| actionMenuTextColor | ?android:attr/textColorPrimaryDisableOnly |
| actionModeBackground | @drawable/abc_cab_background_top_material |
| actionModeBackground | @drawable/cab_background_top_holo_light |
| actionModeBackground | @drawable/cab_background_top_holo_light |
| actionModeCloseButtonStyle | @style/Widget.AppCompat.ActionButton.CloseMode |
| actionModeCloseButtonStyle | @style/Widget.Holo.Light.ActionButton.CloseMode |
| actionModeCloseContentDescription | @string/abc_action_mode_done |
| actionModeCloseDrawable | @drawable/abc_ic_ab_back_material |
| actionModeCloseDrawable | @drawable/ic_cab_done_holo_light |
| actionModeCopyDrawable | @drawable/abc_ic_menu_copy_mtrl_am_alpha |
| actionModeCopyDrawable | @drawable/ic_menu_copy_holo_light |
| actionModeCopyDrawable | @drawable/ic_menu_copy_holo_light |
| actionModeCutDrawable | @drawable/abc_ic_menu_cut_mtrl_alpha |
| actionModeCutDrawable | @drawable/ic_menu_cut_holo_light |
| actionModeCutDrawable | @drawable/ic_menu_cut_holo_light |
| actionModeFindDrawable | @drawable/ic_menu_find_holo_light |
| actionModeFindDrawable | @drawable/ic_menu_find_holo_light |
| actionModePasteDrawable | @drawable/abc_ic_menu_paste_mtrl_am_alpha |
| actionModePasteDrawable | @drawable/ic_menu_paste_holo_light |
| actionModePasteDrawable | @drawable/ic_menu_paste_holo_light |
| actionModePopupWindowStyle | @style/Widget.Holo.Light.PopupWindow.ActionMode |
| actionModeSelectAllDrawable | @drawable/abc_ic_menu_selectall_mtrl_alpha |
| actionModeSelectAllDrawable | @drawable/ic_menu_selectall_holo_light |
| actionModeSelectAllDrawable | @drawable/ic_menu_selectall_holo_light |
| actionModeShareDrawable | @drawable/abc_ic_menu_share_mtrl_alpha |
| actionModeShareDrawable | @drawable/ic_menu_share_holo_light |
| actionModeShareDrawable | @drawable/ic_menu_share_holo_light |
| actionModeSplitBackground | ?attr/colorPrimaryDark |
| actionModeSplitBackground | @drawable/cab_background_bottom_holo_light |
| actionModeSplitBackground | @drawable/cab_background_bottom_holo_light |
| actionModeStyle | @style/Widget.AppCompat.ActionMode |
| actionModeStyle | @style/Widget.Holo.Light.ActionMode |
| actionModeTheme | ?attr/actionBarTheme |
| actionModeWebSearchDrawable | @drawable/ic_menu_search_holo_light |
| actionModeWebSearchDrawable | @drawable/ic_menu_search_holo_light |
| actionOverflowButtonStyle | @style/Widget.AppCompat.Light.ActionButton.Overflow |
| actionOverflowButtonStyle | @style/Widget.Holo.Light.ActionButton.Overflow |
| actionOverflowMenuStyle | ?attr/popupMenuStyle |
| actionOverflowMenuStyle | @style/Widget.AppCompat.Light.PopupMenu.Overflow |
| activatedBackgroundIndicator | @drawable/activated_background_holo_light |
| activatedBackgroundIndicator | @drawable/activated_background_light |
| activityChooserViewStyle | @style/Widget.AppCompat.ActivityChooserView |
| activityChooserViewStyle | @style/Widget.Holo.Light.ActivityChooserView |
| alertDialogCenterButtons | false |
| alertDialogCenterButtons | false |
| alertDialogIcon | @drawable/ic_dialog_alert_holo_light |
| alertDialogStyle | @style/AlertDialog.AppCompat.Light |
| alertDialogStyle | @style/AlertDialog.Holo.Light |
| alertDialogTheme | @style/Theme.Holo.Light.Dialog.Alert |
| alertDialogTheme | @style/ThemeOverlay.AppCompat.Dialog.Alert |
| android:actionModeCopyDrawable | ?actionModeCopyDrawable |
| android:actionModeCutDrawable | ?actionModeCutDrawable |
| android:actionModePasteDrawable | ?actionModePasteDrawable |
| android:actionModeSelectAllDrawable | ?actionModeSelectAllDrawable |
| android:backgroundDimAmount | 0.6 |
| android:borderlessButtonStyle | ?attr/borderlessButtonStyle |
| android:buttonBarButtonStyle | ?attr/buttonBarButtonStyle |
| android:buttonBarStyle | ?attr/buttonBarStyle |
| android:colorBackground | @color/background_material_light |
| android:colorBackgroundCacheHint | @color/abc_background_cache_hint_selector_material_light |
| android:colorForeground | @color/foreground_material_light |
| android:colorForegroundInverse | @color/foreground_material_dark |
| android:disabledAlpha | @dimen/abc_disabled_alpha_material_light |
| android:dropDownItemStyle | @style/Widget.AppCompat.DropDownItem.Spinner |
| android:dropDownListViewStyle | @style/Widget.AppCompat.ListView.DropDown |
| android:listChoiceIndicatorMultiple | @drawable/abc_btn_check_material |
| android:listChoiceIndicatorSingle | @drawable/abc_btn_radio_material |
| android:listPreferredItemHeight | @dimen/abc_list_item_height_material |
| android:listPreferredItemHeightLarge | @dimen/abc_list_item_height_large_material |
| android:listPreferredItemHeightSmall | @dimen/abc_list_item_height_small_material |
| android:listPreferredItemPaddingEnd | @dimen/abc_list_item_padding_horizontal_material |
| android:listPreferredItemPaddingLeft | @dimen/abc_list_item_padding_horizontal_material |
| android:listPreferredItemPaddingRight | @dimen/abc_list_item_padding_horizontal_material |
| android:listPreferredItemPaddingStart | @dimen/abc_list_item_padding_horizontal_material |
| android:panelBackground | @android:color/transparent |
| android:spinnerItemStyle | @style/Widget.AppCompat.TextView.SpinnerItem |
| android:textAppearance | @style/TextAppearance.AppCompat |
| android:textAppearanceButton | @style/TextAppearance.AppCompat.Widget.Button |
| android:textAppearanceInverse | @style/TextAppearance.AppCompat.Inverse |
| android:textAppearanceLarge | @style/TextAppearance.AppCompat.Large |
| android:textAppearanceLargeInverse | @style/TextAppearance.AppCompat.Large.Inverse |
| android:textAppearanceListItem | @style/TextAppearance.AppCompat.Subhead |
| android:textAppearanceListItemSmall | @style/TextAppearance.AppCompat.Subhead |
| android:textAppearanceMedium | @style/TextAppearance.AppCompat.Medium |
| android:textAppearanceMediumInverse | @style/TextAppearance.AppCompat.Medium.Inverse |
| android:textAppearanceSmall | @style/TextAppearance.AppCompat.Small |
| android:textAppearanceSmallInverse | @style/TextAppearance.AppCompat.Small.Inverse |
| android:textColorAlertDialogListItem | @color/abc_primary_text_material_light |
| android:textColorHighlight | @color/highlighted_text_material_light |
| android:textColorHighlightInverse | @color/highlighted_text_material_dark |
| android:textColorHint | @color/abc_hint_foreground_material_light |
| android:textColorHintInverse | @color/abc_hint_foreground_material_dark |
| android:textColorLink | ?attr/colorAccent |
| android:textColorLinkInverse | ?attr/colorAccent |
| android:textColorPrimary | @color/abc_primary_text_material_light |
| android:textColorPrimaryDisableOnly | @color/abc_primary_text_disable_only_material_light |
| android:textColorPrimaryInverse | @color/abc_primary_text_material_dark |
| android:textColorPrimaryInverseDisableOnly | @color/abc_primary_text_disable_only_material_dark |
| android:textColorSecondary | @color/abc_secondary_text_material_light |
| android:textColorSecondaryInverse | @color/abc_secondary_text_material_dark |
| android:textColorTertiary | @color/abc_secondary_text_material_light |
| android:textColorTertiaryInverse | @color/abc_secondary_text_material_dark |
| android:textSelectHandle | @drawable/abc_text_select_handle_middle_mtrl |
| android:textSelectHandleLeft | @drawable/abc_text_select_handle_left_mtrl |
| android:textSelectHandleRight | @drawable/abc_text_select_handle_right_mtrl |
| android:textViewStyle | @style/Widget.AppCompat.TextView |
| android:windowActionBar | false |
| android:windowBackground | @color/background_material_light |
| android:windowNoTitle | true |
| autoCompleteTextViewStyle | @style/Widget.AppCompat.AutoCompleteTextView |
| autoCompleteTextViewStyle | @style/Widget.Holo.Light.AutoCompleteTextView |
| backgroundDimAmount | 0.6 |
| borderlessButtonStyle | @style/Widget.AppCompat.Button.Borderless |
| borderlessButtonStyle | @style/Widget.Holo.Light.Button.Borderless |
| buttonBarButtonStyle | ?attr/borderlessButtonStyle |
| buttonBarButtonStyle | @style/Widget.AppCompat.Button.ButtonBar.AlertDialog |
| buttonBarNegativeButtonStyle | ?attr/buttonBarButtonStyle |
| buttonBarNeutralButtonStyle | ?attr/buttonBarButtonStyle |
| buttonBarPositiveButtonStyle | ?attr/buttonBarButtonStyle |
| buttonBarStyle | @style/Holo.Light.ButtonBar |
| buttonBarStyle | @style/Widget.AppCompat.ButtonBar |
| buttonCornerRadius | 0dp |
| buttonStyle | @style/Widget.AppCompat.Button |
| buttonStyle | @style/Widget.Holo.Light.Button |
| buttonStyleInset | @style/Widget.Holo.Light.Button.Inset |
| buttonStyleSmall | @style/Widget.AppCompat.Button.Small |
| buttonStyleSmall | @style/Widget.Holo.Light.Button.Small |
| buttonStyleToggle | @style/Widget.Holo.Light.Button.Toggle |
| calendarViewStyle | @style/Widget.Holo.Light.CalendarView |
| candidatesTextStyleSpans | @string/candidates_style |
| checkBoxPreferenceStyle | @style/Preference.Holo.CheckBoxPreference |
| checkboxStyle | @style/Widget.AppCompat.CompoundButton.CheckBox |
| checkboxStyle | @style/Widget.Holo.Light.CompoundButton.CheckBox |
| checkedTextViewStyle | @style/Widget.Holo.Light.CheckedTextView |
| colorAccent | @color/accent_material_light |
| colorAccent | @color/holo_blue_light |
| colorActivatedHighlight | @color/holo_blue_dark |
| colorBackground | @color/background_holo_light |
| colorBackground | @color/background_light |
| colorBackgroundCacheHint | @color/background_cache_hint_selector_holo_light |
| colorBackgroundFloating | @color/background_floating_material_light |
| colorBackgroundFloating | @color/background_holo_light |
| colorButtonNormal | @color/button_material_light |
| colorButtonNormal | @color/holo_light_button_normal |
| colorButtonNormal | @color/legacy_light_button_normal |
| colorControlActivated | ?attr/colorAccent |
| colorControlActivated | @color/holo_light_control_activated |
| colorControlActivated | @color/legacy_light_control_activated |
| colorControlHighlight | @color/holo_light_button_pressed |
| colorControlHighlight | @color/legacy_light_button_pressed |
| colorControlHighlight | @color/ripple_material_light |
| colorControlNormal | ?android:attr/textColorSecondary |
| colorControlNormal | @color/holo_light_control_normal |
| colorControlNormal | @color/legacy_light_control_normal |
| colorEdgeEffect | ?attr/colorPrimary |
| colorError | @color/error_color_material_light |
| colorError | @color/error_color_material_light |
| colorFocusedHighlight | @color/holo_blue_dark |
| colorForeground | @color/bright_foreground_holo_light |
| colorForeground | @color/bright_foreground_light |
| colorForegroundInverse | @color/bright_foreground_inverse_holo_light |
| colorForegroundInverse | @color/bright_foreground_light_inverse |
| colorLongPressedHighlight | @color/holo_gray_bright |
| colorMultiSelectHighlight | @color/holo_green_light |
| colorPressedHighlight | @color/holo_gray_light |
| colorPrimary | @color/holo_light_primary |
| colorPrimary | @color/legacy_light_primary |
| colorPrimary | @color/primary_material_light |
| colorPrimaryDark | @color/holo_light_primary_dark |
| colorPrimaryDark | @color/legacy_light_primary_dark |
| colorPrimaryDark | @color/primary_dark_material_light |
| colorSwitchThumbNormal | @color/switch_thumb_material_light |
| colorSwitchThumbNormal | @color/switch_thumb_material_light |
| contextPopupMenuStyle | ?attr/popupMenuStyle |
| controlBackground | ?attr/selectableItemBackgroundBorderless |
| datePickerDialogTheme | ?attr/alertDialogTheme |
| datePickerStyle | @style/Widget.Holo.Light.DatePicker |
| detailsElementBackground | @drawable/panel_bg_holo_light |
| detailsElementBackground | @drawable/panel_bg_holo_light |
| dialogCornerRadius | 0dp |
| dialogCornerRadius | @dimen/abc_dialog_corner_radius_material |
| dialogCustomTitleDecorLayout | @layout/dialog_custom_title_holo |
| dialogPreferenceStyle | @style/Preference.Holo.DialogPreference |
| dialogPreferredPadding | @dimen/abc_dialog_padding_material |
| dialogPreferredPadding | @dimen/dialog_padding |
| dialogTheme | @style/Theme.Holo.Light.Dialog |
| dialogTheme | @style/ThemeOverlay.AppCompat.Dialog |
| dialogTitleDecorLayout | @layout/dialog_title_holo |
| dialogTitleIconsDecorLayout | @layout/dialog_title_icons_holo |
| disabledAlpha | 0.5 |
| dividerHorizontal | ?attr/listDivider |
| dividerHorizontal | @drawable/abc_list_divider_mtrl_alpha |
| dividerVertical | ?attr/listDivider |
| dividerVertical | @drawable/abc_list_divider_mtrl_alpha |
| drawerArrowStyle | @style/Widget.AppCompat.DrawerArrowToggle |
| dropDownHintAppearance | @style/TextAppearance.Holo.Widget.DropDownHint |
| dropDownItemStyle | @style/Widget.Holo.Light.DropDownItem |
| dropDownListViewStyle | ?android:attr/dropDownListViewStyle |
| dropDownListViewStyle | @style/Widget.Holo.ListView.DropDown |
| dropDownSpinnerStyle | @style/Widget.Holo.Light.Spinner.DropDown |
| dropdownListPreferredItemHeight | ?attr/listPreferredItemHeightSmall |
| dropdownListPreferredItemHeight | ?attr/listPreferredItemHeightSmall |
| editTextBackground | @drawable/abc_edit_text_material |
| editTextBackground | @drawable/edit_text_holo_light |
| editTextColor | ?android:attr/textColorPrimary |
| editTextColor | ?attr/textColorPrimary |
| editTextColor | @color/primary_text_light |
| editTextPreferenceStyle | @style/Preference.Holo.DialogPreference.EditTextPreference |
| editTextStyle | @style/Widget.AppCompat.EditText |
| editTextStyle | @style/Widget.Holo.Light.EditText |
| errorMessageAboveBackground | @drawable/popup_inline_error_above_holo_light |
| errorMessageBackground | @drawable/popup_inline_error_holo_light |
| expandableListPreferredChildIndicatorLeft | ?attr/expandableListPreferredItemIndicatorLeft |
| expandableListPreferredChildIndicatorRight | ?attr/expandableListPreferredItemIndicatorRight |
| expandableListPreferredChildPaddingLeft | ?attr/expandableListPreferredItemPaddingLeft |
| expandableListPreferredItemIndicatorLeft | 3dip |
| expandableListPreferredItemIndicatorRight | 0dip |
| expandableListPreferredItemPaddingLeft | 40dip |
| expandableListViewStyle | @style/Widget.ExpandableListView.White |
| expandableListViewStyle | @style/Widget.Holo.Light.ExpandableListView |
| expandableListViewWhiteStyle | @style/Widget.Holo.Light.ExpandableListView.White |
| fastScrollOverlayPosition | atThumb |
| fastScrollPreviewBackgroundLeft | @drawable/fastscroll_label_left_holo_light |
| fastScrollPreviewBackgroundRight | @drawable/fastscroll_label_right_holo_light |
| fastScrollStyle | @style/Widget.Holo.Light.FastScroll |
| fastScrollThumbDrawable | @drawable/fastscroll_thumb_holo |
| fastScrollTrackDrawable | @drawable/fastscroll_track_holo_light |
| findOnPageNextDrawable | @drawable/ic_find_next_holo_light |
| findOnPageNextDrawable | @drawable/ic_find_next_holo_light |
| findOnPagePreviousDrawable | @drawable/ic_find_previous_holo_light |
| findOnPagePreviousDrawable | @drawable/ic_find_previous_holo_light |
| floatingToolbarCloseDrawable | @drawable/ic_ab_back_material_light |
| floatingToolbarDividerColor | @color/floating_popup_divider_light |
| floatingToolbarForegroundColor | @color/foreground_material_light |
| floatingToolbarItemBackgroundBorderlessDrawable | @drawable/item_background_borderless_material_light |
| floatingToolbarItemBackgroundDrawable | @drawable/item_background_material_light |
| floatingToolbarOpenDrawable | @drawable/ic_menu_moreoverflow_material_light |
| floatingToolbarPopupBackgroundDrawable | @drawable/floating_popup_background_light |
| fragmentBreadCrumbsStyle | @style/Widget.Holo.Light.FragmentBreadCrumbs |
| galleryItemBackground | @drawable/gallery_item_background |
| galleryStyle | @style/Widget.Holo.Light.Gallery |
| gestureOverlayViewStyle | @style/Widget.GestureOverlayView.White |
| gestureOverlayViewStyle | @style/Widget.Holo.Light.GestureOverlayView |
| gridViewStyle | @style/Widget.Holo.Light.GridView |
| homeAsUpIndicator | @drawable/abc_ic_ab_back_material |
| homeAsUpIndicator | @drawable/ic_ab_back_holo_light |
| horizontalScrollViewStyle | @style/Widget.Holo.Light.HorizontalScrollView |
| imageButtonStyle | @style/Widget.AppCompat.ImageButton |
| imageButtonStyle | @style/Widget.Holo.Light.ImageButton |
| imageWellStyle | @style/Widget.Holo.Light.ImageWell |
| isLightTheme | true |
| isLightTheme | true |
| keyboardViewStyle | @style/Widget.Holo.KeyboardView |
| listChoiceBackgroundIndicator | @drawable/abc_list_selector_holo_light |
| listChoiceBackgroundIndicator | @drawable/list_selector_background |
| listChoiceBackgroundIndicator | @drawable/list_selector_holo_light |
| listChoiceIndicatorMultiple | @drawable/btn_check_holo_light |
| listChoiceIndicatorMultipleAnimated | @drawable/abc_btn_check_material_anim |
| listChoiceIndicatorSingle | @drawable/btn_radio_holo_light |
| listChoiceIndicatorSingleAnimated | @drawable/abc_btn_radio_material_anim |
| listDivider | @drawable/divider_horizontal_bright |
| listDivider | @drawable/list_divider_holo_light |
| listDividerAlertDialog | @drawable/list_divider_holo_light |
| listDividerAlertDialog | @null |
| listMenuViewStyle | @style/Widget.AppCompat.ListMenuView |
| listPopupWindowStyle | @style/Widget.AppCompat.ListPopupWindow |
| listPopupWindowStyle | @style/Widget.Holo.Light.ListPopupWindow |
| listPreferredItemHeight | 64dip |
| listPreferredItemHeight | @dimen/abc_list_item_height_material |
| listPreferredItemHeightLarge | 80dip |
| listPreferredItemHeightLarge | @dimen/abc_list_item_height_large_material |
| listPreferredItemHeightSmall | 48dip |
| listPreferredItemHeightSmall | @dimen/abc_list_item_height_small_material |
| listPreferredItemPaddingEnd | 8dip |
| listPreferredItemPaddingEnd | @dimen/abc_list_item_padding_horizontal_material |
| listPreferredItemPaddingLeft | 8dip |
| listPreferredItemPaddingLeft | @dimen/abc_list_item_padding_horizontal_material |
| listPreferredItemPaddingRight | 8dip |
| listPreferredItemPaddingRight | @dimen/abc_list_item_padding_horizontal_material |
| listPreferredItemPaddingStart | 8dip |
| listPreferredItemPaddingStart | @dimen/abc_list_item_padding_horizontal_material |
| listSeparatorTextViewStyle | @style/Widget.Holo.Light.TextView.ListSeparator |
| listSeparatorTextViewStyle | @style/Widget.TextView.ListSeparator.White |
| listViewStyle | @style/Widget.Holo.Light.ListView |
| listViewStyle | @style/Widget.ListView.White |
| listViewWhiteStyle | @style/Widget.Holo.Light.ListView.White |
| mediaRouteButtonStyle | @style/Widget.DeviceDefault.Light.MediaRouteButton |
| mediaRouteButtonStyle | @style/Widget.Holo.Light.MediaRouteButton |
| numberPickerStyle | @style/Widget.Holo.Light.NumberPicker |
| panelBackground | @drawable/abc_menu_hardkey_panel_mtrl_mult |
| panelBackground | @drawable/menu_hardkey_panel_holo_light |
| panelColorBackground | #000 |
| panelColorForeground | ?attr/textColorPrimary |
| panelFullBackground | @drawable/menu_background_fill_parent_width |
| panelMenuIsCompact | true |
| panelMenuListTheme | @style/Theme.AppCompat.CompactMenu |
| panelMenuListTheme | @style/Theme.Holo.Light.CompactMenu |
| panelMenuListWidth | 250dip |
| panelMenuListWidth | @dimen/abc_panel_menu_list_width |
| panelTextAppearance | ?attr/textAppearance |
| popupMenuStyle | @style/Widget.AppCompat.Light.PopupMenu |
| popupMenuStyle | @style/Widget.Holo.Light.PopupMenu |
| popupTheme | @null |
| popupWindowStyle | @style/Widget.Holo.Light.PopupWindow |
| popupWindowStyle | @style/Widget.PopupWindow |
| preferenceActivityStyle | @style/PreferenceActivity |
| preferenceCategoryStyle | @style/Preference.Holo.Category |
| preferenceFragmentStyle | @style/PreferenceFragment.Holo |
| preferenceFrameLayoutStyle | @style/Widget.Holo.PreferenceFrameLayout |
| preferenceInformationStyle | @style/Preference.Holo.Information |
| preferenceLayoutChild | @layout/preference_child_holo |
| preferenceScreenStyle | @style/Preference.Holo.PreferenceScreen |
| preferenceStyle | @style/Preference.Holo |
| presentationTheme | @style/Theme.Holo.Light.Dialog.Presentation |
| primaryContentAlpha | @dimen/primary_content_alpha_material_dark |
| progressBarStyle | @style/Widget.Holo.Light.ProgressBar |
| progressBarStyle | @style/Widget.ProgressBar.Inverse |
| progressBarStyleHorizontal | @style/Widget.Holo.Light.ProgressBar.Horizontal |
| progressBarStyleInverse | @style/Widget.Holo.Light.ProgressBar.Inverse |
| progressBarStyleInverse | @style/Widget.ProgressBar |
| progressBarStyleLarge | @style/Widget.Holo.Light.ProgressBar.Large |
| progressBarStyleLarge | @style/Widget.ProgressBar.Large.Inverse |
| progressBarStyleLargeInverse | @style/Widget.Holo.Light.ProgressBar.Large.Inverse |
| progressBarStyleLargeInverse | @style/Widget.ProgressBar.Large |
| progressBarStyleSmall | @style/Widget.Holo.Light.ProgressBar.Small |
| progressBarStyleSmall | @style/Widget.ProgressBar.Small.Inverse |
| progressBarStyleSmallInverse | @style/Widget.Holo.Light.ProgressBar.Small.Inverse |
| progressBarStyleSmallInverse | @style/Widget.ProgressBar.Small |
| progressBarStyleSmallTitle | @style/Widget.Holo.Light.ProgressBar.Small.Title |
| quickContactBadgeOverlay | @drawable/quickcontact_badge_overlay_light |
| quickContactBadgeStyleSmallWindowLarge | @style/Widget.Holo.QuickContactBadgeSmall.WindowLarge |
| quickContactBadgeStyleSmallWindowMedium | @style/Widget.Holo.QuickContactBadgeSmall.WindowMedium |
| quickContactBadgeStyleSmallWindowSmall | @style/Widget.Holo.QuickContactBadgeSmall.WindowSmall |
| quickContactBadgeStyleWindowLarge | @style/Widget.Holo.QuickContactBadge.WindowLarge |
| quickContactBadgeStyleWindowMedium | @style/Widget.Holo.QuickContactBadge.WindowMedium |
| quickContactBadgeStyleWindowSmall | @style/Widget.Holo.QuickContactBadge.WindowSmall |
| radioButtonStyle | @style/Widget.AppCompat.CompoundButton.RadioButton |
| radioButtonStyle | @style/Widget.Holo.Light.CompoundButton.RadioButton |
| ratingBarStyle | @style/Widget.AppCompat.RatingBar |
| ratingBarStyle | @style/Widget.Holo.Light.RatingBar |
| ratingBarStyleIndicator | @style/Widget.AppCompat.RatingBar.Indicator |
| ratingBarStyleIndicator | @style/Widget.Holo.Light.RatingBar.Indicator |
| ratingBarStyleSmall | @style/Widget.AppCompat.RatingBar.Small |
| ratingBarStyleSmall | @style/Widget.Holo.Light.RatingBar.Small |
| ringtonePreferenceStyle | @style/Preference.Holo.RingtonePreference |
| scrollViewStyle | @style/Widget.Holo.Light.ScrollView |
| scrollbarDefaultDelayBeforeFade | 300 |
| scrollbarFadeDuration | 250 |
| scrollbarSize | 10dip |
| scrollbarThumbHorizontal | @drawable/scrollbar_handle_holo_light |
| scrollbarThumbVertical | @drawable/scrollbar_handle_holo_light |
| scrollbarTrackHorizontal | @null |
| scrollbarTrackVertical | @null |
| searchDialogTheme | @style/Theme.Holo.Light.SearchBar |
| searchResultListItemHeight | 58dip |
| searchViewStyle | @style/Widget.AppCompat.Light.SearchView |
| searchViewStyle | @style/Widget.Holo.Light.SearchView |
| searchViewStyle | @style/Widget.Holo.Light.SearchView |
| searchWidgetCorpusItemBackground | @color/search_widget_corpus_item_background |
| secondaryContentAlpha | @dimen/secondary_content_alpha_material_dark |
| seekBarPreferenceStyle | @style/Preference.Holo.SeekBarPreference |
| seekBarStyle | @style/Widget.AppCompat.SeekBar |
| seekBarStyle | @style/Widget.Holo.Light.SeekBar |
| segmentedButtonStyle | @style/Holo.Light.SegmentedButton |
| selectableItemBackground | @drawable/abc_item_background_holo_light |
| selectableItemBackground | @drawable/item_background_holo_light |
| selectableItemBackgroundBorderless | ?attr/selectableItemBackground |
| selectableItemBackgroundBorderless | ?attr/selectableItemBackground |
| spinnerDropDownItemStyle | @style/Widget.AppCompat.DropDownItem.Spinner |
| spinnerDropDownItemStyle | @style/Widget.Holo.Light.DropDownItem.Spinner |
| spinnerItemStyle | @style/Widget.Holo.TextView.SpinnerItem |
| spinnerStyle | ?attr/dropDownSpinnerStyle |
| spinnerStyle | @style/Widget.AppCompat.Spinner |
| stackViewStyle | @style/Widget.Holo.StackView |
| starStyle | @style/Widget.Holo.Light.CompoundButton.Star |
| switchPreferenceStyle | @style/Preference.Holo.SwitchPreference |
| switchStyle | @style/Widget.AppCompat.CompoundButton.Switch |
| switchStyle | @style/Widget.Holo.Light.CompoundButton.Switch |
| tabWidgetStyle | @style/Widget.Holo.Light.TabWidget |
| textAppearance | @style/TextAppearance.Holo.Light |
| textAppearanceButton | @style/TextAppearance.Holo.Light.Widget.Button |
| textAppearanceInverse | @style/TextAppearance.Holo.Light.Inverse |
| textAppearanceLarge | @style/TextAppearance.Holo.Light.Large |
| textAppearanceLargeInverse | @style/TextAppearance.Holo.Light.Large.Inverse |
| textAppearanceLargePopupMenu | @style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Large |
| textAppearanceLargePopupMenu | @style/TextAppearance.Holo.Light.Widget.PopupMenu.Large |
| textAppearanceListItem | ?attr/textAppearanceLarge |
| textAppearanceListItem | @style/TextAppearance.AppCompat.Subhead |
| textAppearanceListItemSecondary | ?attr/textAppearanceSmall |
| textAppearanceListItemSecondary | @style/TextAppearance.AppCompat.Body1 |
| textAppearanceListItemSmall | ?attr/textAppearanceMedium |
| textAppearanceListItemSmall | @style/TextAppearance.AppCompat.Subhead |
| textAppearanceMedium | @style/TextAppearance.Holo.Light.Medium |
| textAppearanceMediumInverse | @style/TextAppearance.Holo.Light.Medium.Inverse |
| textAppearancePopupMenuHeader | @style/TextAppearance.AppCompat.Widget.PopupMenu.Header |
| textAppearanceSearchResultSubtitle | @style/TextAppearance.AppCompat.SearchResult.Subtitle |
| textAppearanceSearchResultSubtitle | @style/TextAppearance.Holo.Light.SearchResult.Subtitle |
| textAppearanceSearchResultTitle | @style/TextAppearance.AppCompat.SearchResult.Title |
| textAppearanceSearchResultTitle | @style/TextAppearance.Holo.Light.SearchResult.Title |
| textAppearanceSmall | @style/TextAppearance.Holo.Light.Small |
| textAppearanceSmallInverse | @style/TextAppearance.Holo.Light.Small.Inverse |
| textAppearanceSmallPopupMenu | @style/TextAppearance.AppCompat.Light.Widget.PopupMenu.Small |
| textAppearanceSmallPopupMenu | @style/TextAppearance.Holo.Light.Widget.PopupMenu.Small |
| textCheckMark | @drawable/indicator_check_mark_light |
| textCheckMark | @drawable/indicator_check_mark_light |
| textCheckMarkInverse | @drawable/indicator_check_mark_dark |
| textCheckMarkInverse | @drawable/indicator_check_mark_dark |
| textColorAlertDialogListItem | @color/abc_primary_text_material_light |
| textColorAlertDialogListItem | @color/primary_text_holo_light |
| textColorHighlight | @color/highlighted_text_holo_light |
| textColorHighlight | @color/highlighted_text_light |
| textColorHighlightInverse | @color/highlighted_text_dark |
| textColorHighlightInverse | @color/highlighted_text_holo_dark |
| textColorHint | @color/hint_foreground_holo_light |
| textColorHint | @color/hint_foreground_light |
| textColorHintInverse | @color/hint_foreground_dark |
| textColorHintInverse | @color/hint_foreground_holo_dark |
| textColorLink | @color/holo_blue_light |
| textColorLink | @color/link_text_light |
| textColorLinkInverse | @color/holo_blue_light |
| textColorLinkInverse | @color/link_text_dark |
| textColorPrimary | @color/primary_text_holo_light |
| textColorPrimary | @color/primary_text_light |
| textColorPrimaryActivated | @color/primary_text_holo_light |
| textColorPrimaryActivated | @color/primary_text_light |
| textColorPrimaryDisableOnly | @color/primary_text_disable_only_holo_light |
| textColorPrimaryDisableOnly | @color/primary_text_light_disable_only |
| textColorPrimaryInverse | @color/primary_text_dark |
| textColorPrimaryInverse | @color/primary_text_holo_dark |
| textColorPrimaryInverseDisableOnly | @color/primary_text_dark_disable_only |
| textColorPrimaryInverseDisableOnly | @color/primary_text_disable_only_holo_dark |
| textColorPrimaryInverseNoDisable | @color/primary_text_dark_nodisable |
| textColorPrimaryInverseNoDisable | @color/primary_text_nodisable_holo_dark |
| textColorPrimaryNoDisable | @color/primary_text_light_nodisable |
| textColorPrimaryNoDisable | @color/primary_text_nodisable_holo_light |
| textColorSearchUrl | @color/abc_search_url_text |
| textColorSearchUrl | @color/search_url_text_holo |
| textColorSecondary | @color/secondary_text_holo_light |
| textColorSecondary | @color/secondary_text_light |
| textColorSecondaryActivated | @color/secondary_text_holo_light |
| textColorSecondaryActivated | @color/secondary_text_light |
| textColorSecondaryInverse | @color/secondary_text_dark |
| textColorSecondaryInverse | @color/secondary_text_holo_dark |
| textColorSecondaryInverseNoDisable | @color/secondary_text_dark_nodisable |
| textColorSecondaryInverseNoDisable | @color/secondary_text_nodisable_holo_dark |
| textColorSecondaryNoDisable | @color/secondary_text_light_nodisable |
| textColorSecondaryNoDisable | @color/secondary_text_nodisable_holo_light |
| textColorTertiary | @color/tertiary_text_holo_light |
| textColorTertiary | @color/tertiary_text_light |
| textColorTertiaryInverse | @color/tertiary_text_dark |
| textColorTertiaryInverse | @color/tertiary_text_holo_dark |
| textCursorDrawable | @drawable/text_cursor_holo_light |
| textEditSuggestionContainerLayout | @layout/text_edit_suggestion_container |
| textEditSuggestionHighlightStyle | @style/TextAppearance.Holo.SuggestionHighlight |
| textEditSuggestionItemLayout | @layout/text_edit_suggestion_item |
| textSelectHandle | @drawable/text_select_handle_middle_material |
| textSelectHandleLeft | @drawable/text_select_handle_left_material |
| textSelectHandleRight | @drawable/text_select_handle_right_material |
| textSelectHandleWindowStyle | @style/Widget.Holo.TextSelectHandle |
| textViewStyle | @style/Widget.Holo.Light.TextView |
| timePickerDialogTheme | ?attr/alertDialogTheme |
| timePickerStyle | @style/Widget.Holo.Light.TimePicker |
| toastFrameBackground | @drawable/toast_frame |
| toolbarNavigationButtonStyle | @style/Widget.AppCompat.Toolbar.Button.Navigation |
| toolbarStyle | @style/Widget.AppCompat.Toolbar |
| tooltipBackgroundColor | @color/tooltip_background_dark |
| tooltipForegroundColor | @color/bright_foreground_dark |
| tooltipForegroundColor | @color/foreground_material_dark |
| tooltipFrameBackground | @drawable/tooltip_frame_dark |
| webTextViewStyle | @style/Widget.Holo.Light.WebTextView |
| webViewStyle | @style/Widget.Holo.Light.WebView |
| windowActionBar | false |
| windowActionBar | true |
| windowActionBar | true |
| windowActionBarOverlay | false |
| windowActionModeOverlay | false |
| windowActionModeOverlay | false |
| windowAnimationStyle | @style/Animation.Holo.Activity |
| windowBackground | @drawable/screen_background_selector_light |
| windowClipToOutline | false |
| windowContentOverlay | @drawable/ab_solid_shadow_holo |
| windowFixedHeightMajor | @null |
| windowFixedHeightMinor | @null |
| windowFixedWidthMajor | @null |
| windowFixedWidthMinor | @null |
| windowFrame | @null |
| windowFullscreen | false |
| windowIsFloating | false |
| windowNoTitle | false |
| windowNoTitle | false |
| windowNoTitle | true |
| windowOverscan | false |
| windowShowWallpaper | false |
| windowSoftInputMode | stateUnspecified | adjustUnspecified |
| windowTitleBackgroundStyle | @style/WindowTitleBackground.Holo |
| windowTitleSize | 25dip |
| windowTitleStyle | @style/WindowTitle.Holo |
| yesNoPreferenceStyle | @style/Preference.Holo.DialogPreference.YesNoPreference |
版权声明:本文为tq1086原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。