Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2012 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <resources> |
| 18 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 19 | <!-- Like in themes_base.xml, the namespace "Base.AppCompat.*" is used to |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 20 | define base styles for the platform version. The "*.AppCompat" |
| 21 | variants are for direct use or use as parent styles by the app. --> |
| 22 | <eat-comment/> |
| 23 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 24 | <style name="Base.Widget.AppCompat.ActionBar" parent=""> |
| 25 | <item name="displayOptions">showTitle</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 26 | <item name="divider">?attr/dividerVertical</item> |
| 27 | <item name="height">?attr/actionBarSize</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 28 | |
| 29 | <item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Title</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 30 | <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 31 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 32 | <item name="background">@null</item> |
| 33 | <item name="backgroundStacked">@null</item> |
| 34 | <item name="backgroundSplit">@null</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 35 | |
| 36 | <item name="actionButtonStyle">@style/Widget.AppCompat.ActionButton</item> |
| 37 | <item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow</item> |
| 38 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 39 | <item name="android:gravity">center_vertical</item> |
Ying Wang | bb09c25 | 2014-08-05 14:40:52 -0700 | [diff] [blame] | 40 | <item name="elevation">8dp</item> |
| 41 | <item name="popupTheme">?attr/actionBarPopupTheme</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 42 | </style> |
| 43 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 44 | <style name="Base.Widget.AppCompat.Light.ActionBar" parent="Base.Widget.AppCompat.ActionBar"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 45 | <item name="actionButtonStyle">@style/Widget.AppCompat.Light.ActionButton</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 46 | <item name="actionOverflowButtonStyle">@style/Widget.AppCompat.Light.ActionButton.Overflow</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 47 | </style> |
| 48 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 49 | <style name="Base.Widget.AppCompat.ActionBar.Solid"> |
| 50 | <item name="background">?attr/colorPrimary</item> |
| 51 | <item name="backgroundStacked">?attr/colorPrimary</item> |
| 52 | <item name="backgroundSplit">?attr/colorPrimary</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 53 | </style> |
| 54 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 55 | <style name="Base.Widget.AppCompat.Light.ActionBar.Solid"> |
| 56 | <item name="background">?attr/colorPrimary</item> |
| 57 | <item name="backgroundStacked">?attr/colorPrimary</item> |
| 58 | <item name="backgroundSplit">?attr/colorPrimary</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 59 | </style> |
| 60 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 61 | <style name="Base.Widget.AppCompat.ActionButton" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 62 | <item name="android:background">?attr/actionBarItemBackground</item> |
Qiwen Zhao | 76b1ed2 | 2014-09-15 08:26:44 -0700 | [diff] [blame] | 63 | <item name="android:paddingLeft">12dip</item> |
| 64 | <item name="android:paddingRight">12dip</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 65 | <item name="android:minWidth">@dimen/abc_action_button_min_width_material</item> |
| 66 | <item name="android:minHeight">@dimen/abc_action_button_min_height_material</item> |
| 67 | <item name="android:scaleType">center</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 68 | <item name="android:gravity">center</item> |
| 69 | <item name="android:maxLines">2</item> |
| 70 | <item name="textAllCaps">@bool/abc_config_actionMenuItemAllCaps</item> |
| 71 | </style> |
| 72 | |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 73 | <style name="Base.Widget.AppCompat.ActionButton.CloseMode"> |
| 74 | <item name="android:background">?attr/selectableItemBackgroundBorderless</item> |
| 75 | </style> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 76 | |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 77 | <style name="Base.Widget.AppCompat.ActionButton.Overflow"> |
| 78 | <item name="android:src">@drawable/abc_ic_menu_moreoverflow_mtrl_alpha</item> |
| 79 | <item name="android:background">?attr/actionBarItemBackground</item> |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 80 | <item name="android:contentDescription">@string/abc_action_menu_overflow_description</item> |
Qiwen Zhao | 76b1ed2 | 2014-09-15 08:26:44 -0700 | [diff] [blame] | 81 | <item name="android:minWidth">@dimen/abc_action_button_min_width_overflow_material</item> |
| 82 | <item name="android:minHeight">@dimen/abc_action_button_min_height_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 83 | </style> |
| 84 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 85 | <style name="Base.Widget.AppCompat.ActionBar.TabBar" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 86 | <item name="divider">?attr/actionBarDivider</item> |
| 87 | <item name="showDividers">middle</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 88 | <item name="dividerPadding">8dip</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 89 | </style> |
| 90 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 91 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabBar" |
| 92 | parent="Base.Widget.AppCompat.ActionBar.TabBar"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 93 | </style> |
| 94 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 95 | <style name="Base.Widget.AppCompat.ActionBar.TabView" parent=""> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 96 | <item name="android:background">@drawable/abc_tab_indicator_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 97 | <item name="android:gravity">center_horizontal</item> |
| 98 | <item name="android:paddingLeft">16dip</item> |
| 99 | <item name="android:paddingRight">16dip</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 100 | <item name="android:layout_width">0dip</item> |
| 101 | <item name="android:layout_weight">1</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 102 | <item name="android:minWidth">80dip</item> |
| 103 | </style> |
| 104 | |
Yao Chen | 8269d93 | 2014-08-11 14:04:58 -0700 | [diff] [blame] | 105 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabView" parent="Base.Widget.AppCompat.ActionBar.TabView"> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 106 | <item name="android:background">@drawable/abc_tab_indicator_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 107 | </style> |
| 108 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 109 | <style name="Base.Widget.AppCompat.ActionBar.TabText" parent=""> |
| 110 | <item name="android:textAppearance">@style/TextAppearance.AppCompat.Medium</item> |
Ying Wang | bb09c25 | 2014-08-05 14:40:52 -0700 | [diff] [blame] | 111 | <item name="android:textColor">?android:attr/textColorPrimary</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 112 | <item name="android:textSize">12sp</item> |
| 113 | <item name="android:textStyle">bold</item> |
| 114 | <item name="android:ellipsize">marquee</item> |
| 115 | <item name="android:maxLines">2</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 116 | <item name="android:maxWidth">180dp</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 117 | <item name="textAllCaps">true</item> |
| 118 | </style> |
| 119 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 120 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabText" |
| 121 | parent="Base.Widget.AppCompat.ActionBar.TabText"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 122 | </style> |
| 123 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 124 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse" |
| 125 | parent="Base.Widget.AppCompat.Light.ActionBar.TabText"> |
| 126 | <item name="android:textAppearance">@style/TextAppearance.AppCompat.Medium.Inverse</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 127 | </style> |
| 128 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 129 | <style name="Base.Widget.AppCompat.ActionMode" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 130 | <item name="background">?attr/actionModeBackground</item> |
| 131 | <item name="backgroundSplit">?attr/actionModeSplitBackground</item> |
| 132 | <item name="height">?attr/actionBarSize</item> |
| 133 | <item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Title</item> |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 134 | <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle</item> |
| 135 | <item name="closeItemLayout">@layout/abc_action_mode_close_item_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 136 | </style> |
| 137 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 138 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title" parent="TextAppearance.AppCompat.Title"> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 139 | <item name="android:textSize">@dimen/abc_text_size_title_material_toolbar</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 140 | </style> |
| 141 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 142 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle" parent="TextAppearance.AppCompat.Subhead"> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 143 | <item name="android:textSize">@dimen/abc_text_size_subtitle_material_toolbar</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 144 | </style> |
| 145 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 146 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Menu" parent="android:TextAppearance.Small"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 147 | <item name="android:textSize">12sp</item> |
| 148 | <item name="android:textStyle">bold</item> |
| 149 | <item name="android:textColor">?attr/actionMenuTextColor</item> |
| 150 | </style> |
| 151 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 152 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title" parent="TextAppearance.AppCompat.Title"> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 153 | <item name="android:textSize">@dimen/abc_text_size_title_material_toolbar</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 154 | </style> |
| 155 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 156 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" parent="TextAppearance.AppCompat.Subhead"> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 157 | <item name="android:textSize">@dimen/abc_text_size_subtitle_material_toolbar</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 158 | </style> |
| 159 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 160 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse" parent="TextAppearance.AppCompat.Title.Inverse"> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 161 | <item name="android:textSize">@dimen/abc_text_size_title_material_toolbar</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 162 | </style> |
| 163 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 164 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse" parent="TextAppearance.AppCompat.Subhead.Inverse"> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 165 | <item name="android:textSize">@dimen/abc_text_size_subtitle_material_toolbar</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 166 | </style> |
| 167 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 168 | <style name="Base.Widget.AppCompat.ProgressBar.Horizontal" parent="android:Widget.ProgressBar.Horizontal"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 169 | </style> |
| 170 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 171 | <style name="Base.Widget.AppCompat.ProgressBar" parent="android:Widget.ProgressBar"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 172 | <item name="android:minWidth">@dimen/abc_action_bar_progress_bar_size</item> |
| 173 | <item name="android:maxWidth">@dimen/abc_action_bar_progress_bar_size</item> |
| 174 | <item name="android:minHeight">@dimen/abc_action_bar_progress_bar_size</item> |
| 175 | <item name="android:maxHeight">@dimen/abc_action_bar_progress_bar_size</item> |
| 176 | </style> |
| 177 | |
Sailesh Nepal | 6aef769 | 2014-09-25 12:13:04 -0700 | [diff] [blame] | 178 | <!-- Spinner Widgets --> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 179 | |
Sailesh Nepal | 6aef769 | 2014-09-25 12:13:04 -0700 | [diff] [blame] | 180 | <style name="Base.Widget.AppCompat.Spinner" parent="android:Widget.Spinner"> |
| 181 | <item name="android:background">@drawable/abc_spinner_mtrl_am_alpha</item> |
| 182 | <item name="android:dropDownSelector">?attr/listChoiceBackgroundIndicator</item> |
| 183 | <item name="android:dropDownVerticalOffset">0dip</item> |
| 184 | </style> |
| 185 | |
Alan Newberger | c776915 | 2014-10-24 11:08:49 -0700 | [diff] [blame] | 186 | <style name="Base.Widget.AppCompat.Spinner.Underlined"> |
| 187 | <item name="android:background">@drawable/abc_spinner_textfield_background_material</item> |
| 188 | </style> |
| 189 | |
Sailesh Nepal | 6aef769 | 2014-09-25 12:13:04 -0700 | [diff] [blame] | 190 | <style name="Base.Widget.AppCompat.Spinner.DropDown.ActionBar" parent="android:Widget"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 191 | <item name="spinnerMode">dropdown</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 192 | |
| 193 | <item name="android:clickable">true</item> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 194 | <item name="android:background">@drawable/abc_spinner_mtrl_am_alpha</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 195 | <item name="android:dropDownSelector">?attr/listChoiceBackgroundIndicator</item> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 196 | <item name="android:popupBackground">@drawable/abc_popup_background_mtrl_mult</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 197 | <item name="android:dropDownVerticalOffset">0dip</item> |
| 198 | <item name="android:dropDownHorizontalOffset">0dip</item> |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 199 | <item name="overlapAnchor">true</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 200 | <item name="android:dropDownWidth">wrap_content</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 201 | <item name="popupPromptView">@layout/abc_simple_dropdown_hint</item> |
| 202 | <item name="android:gravity">left|start|center_vertical</item> |
| 203 | <item name="disableChildrenWhenDisabled">true</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 204 | </style> |
| 205 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 206 | <style name="Base.Widget.AppCompat.DropDownItem.Spinner" parent=""> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 207 | <item name="android:textAppearance">@style/TextAppearance.AppCompat.Widget.DropDownItem</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 208 | <item name="android:paddingLeft">8dp</item> |
| 209 | <item name="android:paddingRight">8dp</item> |
| 210 | <item name="android:gravity">center_vertical</item> |
| 211 | </style> |
| 212 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 213 | <style name="Base.Widget.AppCompat.ListView.DropDown" parent="android:Widget.ListView"> |
Sailesh Nepal | 6aef769 | 2014-09-25 12:13:04 -0700 | [diff] [blame] | 214 | <item name="android:listSelector">?attr/listChoiceBackgroundIndicator</item> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 215 | <item name="android:divider">@null</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 216 | </style> |
| 217 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 218 | <style name="Base.TextAppearance.AppCompat.Widget.DropDownItem" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 219 | parent="android:TextAppearance.Small"> |
| 220 | <item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item> |
| 221 | </style> |
| 222 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 223 | <style name="Base.TextAppearance.Widget.AppCompat.ExpandedMenu.Item" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 224 | parent="android:TextAppearance.Medium"> |
| 225 | <item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item> |
| 226 | </style> |
| 227 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 228 | <style name="Base.Widget.AppCompat.ListView.Menu" parent="android:Widget.ListView.Menu"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 229 | <item name="android:listSelector">?attr/listChoiceBackgroundIndicator</item> |
| 230 | <item name="android:divider">?attr/dividerHorizontal</item> |
| 231 | </style> |
| 232 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 233 | <style name="Base.Widget.AppCompat.ListPopupWindow" parent=""> |
Sailesh Nepal | 6aef769 | 2014-09-25 12:13:04 -0700 | [diff] [blame] | 234 | <item name="android:dropDownSelector">?attr/listChoiceBackgroundIndicator</item> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 235 | <item name="android:popupBackground">@drawable/abc_popup_background_mtrl_mult</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 236 | <item name="android:dropDownVerticalOffset">0dip</item> |
| 237 | <item name="android:dropDownHorizontalOffset">0dip</item> |
| 238 | <item name="android:dropDownWidth">wrap_content</item> |
| 239 | </style> |
| 240 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 241 | <style name="Base.Widget.AppCompat.PopupMenu.Overflow"> |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 242 | <item name="overlapAnchor">true</item> |
Bryan Mawhinney | 191b2af | 2014-09-03 14:24:53 +0100 | [diff] [blame] | 243 | <item name="android:dropDownHorizontalOffset">-4dip</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 244 | </style> |
| 245 | |
| 246 | <style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow"> |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 247 | <item name="overlapAnchor">true</item> |
Bryan Mawhinney | 191b2af | 2014-09-03 14:24:53 +0100 | [diff] [blame] | 248 | <item name="android:dropDownHorizontalOffset">-4dip</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 249 | </style> |
| 250 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 251 | <style name="Base.Widget.AppCompat.PopupMenu" parent="@style/Widget.AppCompat.ListPopupWindow"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 252 | </style> |
| 253 | |
Sailesh Nepal | 6aef769 | 2014-09-25 12:13:04 -0700 | [diff] [blame] | 254 | <style name="Base.Widget.AppCompat.Light.PopupMenu" parent="@style/Widget.AppCompat.ListPopupWindow"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 255 | </style> |
| 256 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 257 | <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large" parent="TextAppearance.AppCompat.Menu"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 258 | </style> |
| 259 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 260 | <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Small" parent="TextAppearance.AppCompat.Menu"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 261 | </style> |
| 262 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 263 | <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Large" parent="TextAppearance.AppCompat.Menu"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 264 | </style> |
| 265 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 266 | <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Small" parent="TextAppearance.AppCompat.Menu"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 267 | </style> |
| 268 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 269 | <style name="Base.TextAppearance.AppCompat.SearchResult" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 270 | <item name="android:textStyle">normal</item> |
| 271 | <item name="android:textColor">?android:textColorPrimary</item> |
| 272 | <item name="android:textColorHint">?android:textColorHint</item> |
| 273 | </style> |
| 274 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 275 | <style name="Base.TextAppearance.AppCompat.SearchResult.Title"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 276 | <item name="android:textSize">18sp</item> |
| 277 | </style> |
| 278 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 279 | <style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 280 | <item name="android:textSize">14sp</item> |
| 281 | <item name="android:textColor">?android:textColorSecondary</item> |
| 282 | </style> |
| 283 | |
Sailesh Nepal | 0c91dcd | 2014-08-18 18:18:10 -0700 | [diff] [blame] | 284 | <style name="Base.Widget.AppCompat.AutoCompleteTextView" parent="android:Widget.AutoCompleteTextView"> |
Alan Newberger | c776915 | 2014-10-24 11:08:49 -0700 | [diff] [blame] | 285 | <item name="android:dropDownSelector">?attr/listChoiceBackgroundIndicator</item> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 286 | <item name="android:popupBackground">@drawable/abc_popup_background_mtrl_mult</item> |
Alan Newberger | c776915 | 2014-10-24 11:08:49 -0700 | [diff] [blame] | 287 | <item name="android:background">?attr/editTextBackground</item> |
Qiwen Zhao | dd1e888 | 2014-09-17 08:32:09 -0700 | [diff] [blame] | 288 | <item name="android:textColor">?attr/editTextColor</item> |
Alan Newberger | c776915 | 2014-10-24 11:08:49 -0700 | [diff] [blame] | 289 | <item name="android:textAppearance">?android:attr/textAppearanceMediumInverse</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 290 | </style> |
| 291 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 292 | <style name="Base.Widget.AppCompat.ActivityChooserView" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 293 | <item name="android:gravity">center</item> |
Qiwen Zhao | 62947d3 | 2014-11-04 11:14:35 -0800 | [diff] [blame] | 294 | <item name="android:background">@drawable/abc_ab_share_pack_mtrl_alpha</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 295 | <item name="divider">?attr/dividerVertical</item> |
| 296 | <item name="showDividers">middle</item> |
| 297 | <item name="dividerPadding">6dip</item> |
| 298 | </style> |
| 299 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 300 | <style name="Base.Widget.AppCompat.PopupWindow" parent="android:Widget.PopupWindow"> |
| 301 | </style> |
| 302 | |
| 303 | <style name="Base.Widget.AppCompat.Toolbar" parent="android:Widget"> |
| 304 | <item name="titleTextAppearance">@style/TextAppearance.Widget.AppCompat.Toolbar.Title</item> |
| 305 | <item name="subtitleTextAppearance">@style/TextAppearance.Widget.AppCompat.Toolbar.Subtitle</item> |
| 306 | <item name="android:minHeight">?attr/actionBarSize</item> |
| 307 | <item name="titleMargins">4dp</item> |
| 308 | <item name="maxButtonHeight">56dp</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 309 | <item name="collapseIcon">?attr/homeAsUpIndicator</item> |
Qiwen Zhao | 62947d3 | 2014-11-04 11:14:35 -0800 | [diff] [blame] | 310 | <item name="collapseContentDescription">@string/abc_toolbar_collapse_description</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 311 | <item name="contentInsetStart">16dp</item> |
| 312 | </style> |
| 313 | |
| 314 | <style name="Base.Widget.AppCompat.Toolbar.Button.Navigation" parent="android:Widget"> |
| 315 | <item name="android:minWidth">56dp</item> |
| 316 | <item name="android:scaleType">center</item> |
| 317 | <item name="android:background">?attr/selectableItemBackground</item> |
| 318 | </style> |
| 319 | |
| 320 | <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title" |
| 321 | parent="TextAppearance.AppCompat.Widget.ActionBar.Title"> |
| 322 | </style> |
| 323 | |
| 324 | <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle" |
| 325 | parent="TextAppearance.AppCompat.Widget.ActionBar.Subtitle"> |
| 326 | </style> |
| 327 | |
| 328 | <style name="Base.Widget.AppCompat.SearchView" parent="android:Widget"> |
| 329 | <item name="layout">@layout/abc_search_view</item> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 330 | <item name="queryBackground">@drawable/abc_textfield_search_material</item> |
| 331 | <item name="submitBackground">@drawable/abc_textfield_search_material</item> |
| 332 | <item name="closeIcon">@drawable/abc_ic_clear_mtrl_alpha</item> |
| 333 | <item name="searchIcon">@drawable/abc_ic_search_api_mtrl_alpha</item> |
| 334 | <item name="goIcon">@drawable/abc_ic_go_search_api_mtrl_alpha</item> |
| 335 | <item name="voiceIcon">@drawable/abc_ic_voice_search_api_mtrl_alpha</item> |
| 336 | <item name="commitIcon">@drawable/abc_ic_commit_search_api_mtrl_alpha</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 337 | <item name="suggestionRowLayout">@layout/abc_search_dropdown_item_icons_2line</item> |
| 338 | </style> |
| 339 | |
Dharmesh Mokani | 371b2b6 | 2014-08-07 22:07:03 -0700 | [diff] [blame] | 340 | <style name="Base.Widget.AppCompat.EditText" parent="android:Widget.EditText"> |
| 341 | <item name="android:background">?attr/editTextBackground</item> |
| 342 | <item name="android:textColor">?attr/editTextColor</item> |
| 343 | <item name="android:textAppearance">?android:attr/textAppearanceMediumInverse</item> |
| 344 | </style> |
Qiwen Zhao | 4a61fbd | 2014-11-21 09:51:56 -0800 | [diff] [blame] | 345 | <!-- contains values used in all dpis --> |
| 346 | <style name="Base.Widget.AppCompat.DrawerArrowToggle.Common" parent=""> |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 347 | <item name="color">?android:attr/textColorSecondary</item> |
Qiwen Zhao | 4a61fbd | 2014-11-21 09:51:56 -0800 | [diff] [blame] | 348 | <item name="middleBarArrowSize">16dp</item> |
| 349 | <item name="spinBars">true</item> |
Qiwen Zhao | 0ccdf35 | 2014-09-04 14:35:18 -0700 | [diff] [blame] | 350 | <item name="thickness">2dp</item> |
Qiwen Zhao | 4a61fbd | 2014-11-21 09:51:56 -0800 | [diff] [blame] | 351 | <item name="topBottomBarArrowSize">11.31dp</item> |
| 352 | </style> |
| 353 | |
| 354 | <!-- contains values used in all dpis except hdpi and xxhdpi --> |
| 355 | <style name="Base.Widget.AppCompat.DrawerArrowToggle" parent="Base.Widget.AppCompat.DrawerArrowToggle.Common"> |
Qiwen Zhao | 0ccdf35 | 2014-09-04 14:35:18 -0700 | [diff] [blame] | 356 | <item name="barSize">18dp</item> |
| 357 | <item name="gapBetweenBars">3dp</item> |
Qiwen Zhao | 0ccdf35 | 2014-09-04 14:35:18 -0700 | [diff] [blame] | 358 | <item name="drawableSize">24dp</item> |
Qiwen Zhao | 0ccdf35 | 2014-09-04 14:35:18 -0700 | [diff] [blame] | 359 | </style> |
| 360 | |
Sailesh Nepal | 6aef769 | 2014-09-25 12:13:04 -0700 | [diff] [blame] | 361 | <style name="Base.Widget.AppCompat.CompoundButton.Switch" parent="android:Widget.CompoundButton"> |
| 362 | <item name="track">@drawable/abc_switch_track_mtrl_alpha</item> |
| 363 | <item name="android:thumb">@drawable/abc_switch_thumb_material</item> |
| 364 | <item name="switchTextAppearance">@style/TextAppearance.AppCompat.Widget.Switch</item> |
| 365 | <item name="android:background">?attr/selectableItemBackgroundBorderless</item> |
| 366 | <item name="showText">false</item> |
| 367 | </style> |
| 368 | |
| 369 | <style name="Base.TextAppearance.AppCompat.Widget.Switch" parent="TextAppearance.AppCompat.Button" /> |
| 370 | |
Alan Newberger | c776915 | 2014-10-24 11:08:49 -0700 | [diff] [blame] | 371 | <style name="Base.Widget.AppCompat.RatingBar" parent="android:Widget.RatingBar"> |
| 372 | <item name="android:progressDrawable">@drawable/abc_ratingbar_full_material</item> |
| 373 | <item name="android:indeterminateDrawable">@drawable/abc_ratingbar_full_material</item> |
| 374 | </style> |
| 375 | |
| 376 | <!-- Bordered ink button --> |
| 377 | <style name="Base.Widget.AppCompat.Button" parent="android:Widget"> |
| 378 | <item name="android:background">@drawable/abc_btn_default_mtrl_shape</item> |
| 379 | <item name="android:textAppearance">?android:attr/textAppearanceButton</item> |
| 380 | <item name="android:minHeight">48dip</item> |
| 381 | <item name="android:minWidth">88dip</item> |
| 382 | <item name="android:focusable">true</item> |
| 383 | <item name="android:clickable">true</item> |
| 384 | <item name="android:gravity">center_vertical|center_horizontal</item> |
| 385 | </style> |
| 386 | |
| 387 | <!-- Small bordered ink button --> |
| 388 | <style name="Base.Widget.AppCompat.Button.Small"> |
| 389 | <item name="android:minHeight">48dip</item> |
| 390 | <item name="android:minWidth">48dip</item> |
| 391 | </style> |
| 392 | |
Qiwen Zhao | 4a61fbd | 2014-11-21 09:51:56 -0800 | [diff] [blame] | 393 | <style name="Base.Widget.AppCompat.TextView.SpinnerItem" parent="android:Widget.TextView.SpinnerItem"> |
| 394 | <item name="android:textAppearance">@style/TextAppearance.AppCompat.Widget.TextView.SpinnerItem</item> |
| 395 | <item name="android:paddingLeft">8dp</item> |
| 396 | <item name="android:paddingRight">8dp</item> |
| 397 | </style> |
| 398 | |
| 399 | <style name="Base.TextAppearance.AppCompat.Widget.TextView.SpinnerItem" parent="TextAppearance.AppCompat.Menu" /> |
| 400 | |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 401 | </resources> |