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 | |
| 39 | <item name="progressBarStyle">@style/Widget.AppCompat.ProgressBar.Horizontal</item> |
| 40 | <item name="indeterminateProgressStyle">@style/Widget.AppCompat.ProgressBar</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 41 | |
| 42 | <item name="android:gravity">center_vertical</item> |
Ying Wang | bb09c25 | 2014-08-05 14:40:52 -0700 | [diff] [blame] | 43 | <item name="elevation">8dp</item> |
| 44 | <item name="popupTheme">?attr/actionBarPopupTheme</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 45 | </style> |
| 46 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 47 | <style name="Base.Widget.AppCompat.Light.ActionBar" parent="Base.Widget.AppCompat.ActionBar"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 48 | <item name="actionButtonStyle">@style/Widget.AppCompat.Light.ActionButton</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 49 | <item name="actionOverflowButtonStyle">@style/Widget.AppCompat.Light.ActionButton.Overflow</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 50 | </style> |
| 51 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 52 | <style name="Base.Widget.AppCompat.ActionBar.Solid"> |
| 53 | <item name="background">?attr/colorPrimary</item> |
| 54 | <item name="backgroundStacked">?attr/colorPrimary</item> |
| 55 | <item name="backgroundSplit">?attr/colorPrimary</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 56 | </style> |
| 57 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 58 | <style name="Base.Widget.AppCompat.Light.ActionBar.Solid"> |
| 59 | <item name="background">?attr/colorPrimary</item> |
| 60 | <item name="backgroundStacked">?attr/colorPrimary</item> |
| 61 | <item name="backgroundSplit">?attr/colorPrimary</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 62 | </style> |
| 63 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 64 | <style name="Base.Widget.AppCompat.ActionButton" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 65 | <item name="android:background">?attr/actionBarItemBackground</item> |
Qiwen Zhao | 76b1ed2 | 2014-09-15 08:26:44 -0700 | [diff] [blame] | 66 | <item name="android:paddingLeft">12dip</item> |
| 67 | <item name="android:paddingRight">12dip</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 68 | <item name="android:minWidth">@dimen/abc_action_button_min_width_material</item> |
| 69 | <item name="android:minHeight">@dimen/abc_action_button_min_height_material</item> |
| 70 | <item name="android:scaleType">center</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 71 | <item name="android:gravity">center</item> |
| 72 | <item name="android:maxLines">2</item> |
| 73 | <item name="textAllCaps">@bool/abc_config_actionMenuItemAllCaps</item> |
| 74 | </style> |
| 75 | |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 76 | <style name="Base.Widget.AppCompat.ActionButton.CloseMode"> |
| 77 | <item name="android:background">?attr/selectableItemBackgroundBorderless</item> |
| 78 | </style> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 79 | |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 80 | <style name="Base.Widget.AppCompat.ActionButton.Overflow"> |
| 81 | <item name="android:src">@drawable/abc_ic_menu_moreoverflow_mtrl_alpha</item> |
| 82 | <item name="android:background">?attr/actionBarItemBackground</item> |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 83 | <item name="android:contentDescription">@string/abc_action_menu_overflow_description</item> |
Qiwen Zhao | 76b1ed2 | 2014-09-15 08:26:44 -0700 | [diff] [blame] | 84 | <item name="android:minWidth">@dimen/abc_action_button_min_width_overflow_material</item> |
| 85 | <item name="android:minHeight">@dimen/abc_action_button_min_height_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 86 | </style> |
| 87 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 88 | <style name="Base.Widget.AppCompat.ActionBar.TabBar" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 89 | <item name="divider">?attr/actionBarDivider</item> |
| 90 | <item name="showDividers">middle</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 91 | <item name="dividerPadding">8dip</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 92 | </style> |
| 93 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 94 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabBar" |
| 95 | parent="Base.Widget.AppCompat.ActionBar.TabBar"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 96 | </style> |
| 97 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 98 | <style name="Base.Widget.AppCompat.ActionBar.TabView" parent=""> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 99 | <item name="android:background">@drawable/abc_tab_indicator_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 100 | <item name="android:gravity">center_horizontal</item> |
| 101 | <item name="android:paddingLeft">16dip</item> |
| 102 | <item name="android:paddingRight">16dip</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 103 | <item name="android:layout_width">0dip</item> |
| 104 | <item name="android:layout_weight">1</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 105 | <item name="android:minWidth">80dip</item> |
| 106 | </style> |
| 107 | |
Yao Chen | 8269d93 | 2014-08-11 14:04:58 -0700 | [diff] [blame] | 108 | <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] | 109 | <item name="android:background">@drawable/abc_tab_indicator_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 110 | </style> |
| 111 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 112 | <style name="Base.Widget.AppCompat.ActionBar.TabText" parent=""> |
| 113 | <item name="android:textAppearance">@style/TextAppearance.AppCompat.Medium</item> |
Ying Wang | bb09c25 | 2014-08-05 14:40:52 -0700 | [diff] [blame] | 114 | <item name="android:textColor">?android:attr/textColorPrimary</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 115 | <item name="android:textSize">12sp</item> |
| 116 | <item name="android:textStyle">bold</item> |
| 117 | <item name="android:ellipsize">marquee</item> |
| 118 | <item name="android:maxLines">2</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 119 | <item name="android:maxWidth">180dp</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 120 | <item name="textAllCaps">true</item> |
| 121 | </style> |
| 122 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 123 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabText" |
| 124 | parent="Base.Widget.AppCompat.ActionBar.TabText"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 125 | </style> |
| 126 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 127 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse" |
| 128 | parent="Base.Widget.AppCompat.Light.ActionBar.TabText"> |
| 129 | <item name="android:textAppearance">@style/TextAppearance.AppCompat.Medium.Inverse</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 130 | </style> |
| 131 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 132 | <style name="Base.Widget.AppCompat.ActionMode" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 133 | <item name="background">?attr/actionModeBackground</item> |
| 134 | <item name="backgroundSplit">?attr/actionModeSplitBackground</item> |
| 135 | <item name="height">?attr/actionBarSize</item> |
| 136 | <item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Title</item> |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 137 | <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle</item> |
| 138 | <item name="closeItemLayout">@layout/abc_action_mode_close_item_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 139 | </style> |
| 140 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 141 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title" parent="TextAppearance.AppCompat.Title"> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 142 | <item name="android:textSize">@dimen/abc_text_size_title_material_toolbar</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 143 | </style> |
| 144 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 145 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle" parent="TextAppearance.AppCompat.Subhead"> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 146 | <item name="android:textSize">@dimen/abc_text_size_subtitle_material_toolbar</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 147 | </style> |
| 148 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 149 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Menu" parent="android:TextAppearance.Small"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 150 | <item name="android:textSize">12sp</item> |
| 151 | <item name="android:textStyle">bold</item> |
| 152 | <item name="android:textColor">?attr/actionMenuTextColor</item> |
| 153 | </style> |
| 154 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 155 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title" parent="TextAppearance.AppCompat.Title"> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 156 | <item name="android:textSize">@dimen/abc_text_size_title_material_toolbar</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 157 | </style> |
| 158 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 159 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" parent="TextAppearance.AppCompat.Subhead"> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 160 | <item name="android:textSize">@dimen/abc_text_size_subtitle_material_toolbar</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 161 | </style> |
| 162 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 163 | <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] | 164 | <item name="android:textSize">@dimen/abc_text_size_title_material_toolbar</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 165 | </style> |
| 166 | |
Dharmesh Mokani | 86e84da | 2014-08-29 09:24:35 -0700 | [diff] [blame] | 167 | <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] | 168 | <item name="android:textSize">@dimen/abc_text_size_subtitle_material_toolbar</item> |
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.Horizontal" parent="android:Widget.ProgressBar.Horizontal"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 172 | </style> |
| 173 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 174 | <style name="Base.Widget.AppCompat.ProgressBar" parent="android:Widget.ProgressBar"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 175 | <item name="android:minWidth">@dimen/abc_action_bar_progress_bar_size</item> |
| 176 | <item name="android:maxWidth">@dimen/abc_action_bar_progress_bar_size</item> |
| 177 | <item name="android:minHeight">@dimen/abc_action_bar_progress_bar_size</item> |
| 178 | <item name="android:maxHeight">@dimen/abc_action_bar_progress_bar_size</item> |
| 179 | </style> |
| 180 | |
| 181 | <!-- Action Bar Spinner Widgets --> |
| 182 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 183 | <style name="Base.Widget.AppCompat.Spinner" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 184 | <item name="spinnerMode">dropdown</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 185 | |
| 186 | <item name="android:clickable">true</item> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 187 | <item name="android:background">@drawable/abc_spinner_mtrl_am_alpha</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 188 | <item name="android:dropDownSelector">?attr/listChoiceBackgroundIndicator</item> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 189 | <item name="android:popupBackground">@drawable/abc_popup_background_mtrl_mult</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 190 | <item name="android:dropDownVerticalOffset">0dip</item> |
| 191 | <item name="android:dropDownHorizontalOffset">0dip</item> |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 192 | <item name="overlapAnchor">true</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 193 | <item name="android:dropDownWidth">wrap_content</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 194 | <item name="popupPromptView">@layout/abc_simple_dropdown_hint</item> |
| 195 | <item name="android:gravity">left|start|center_vertical</item> |
| 196 | <item name="disableChildrenWhenDisabled">true</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 197 | </style> |
| 198 | |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 199 | <style name="Base.Widget.AppCompat.Light.Spinner" parent="Widget.AppCompat.Spinner"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 200 | <item name="android:dropDownSelector">@drawable/abc_list_selector_holo_light</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 201 | </style> |
| 202 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 203 | <style name="Base.Widget.AppCompat.DropDownItem.Spinner" parent=""> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 204 | <item name="android:textAppearance">@style/TextAppearance.AppCompat.Widget.DropDownItem</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 205 | <item name="android:paddingLeft">8dp</item> |
| 206 | <item name="android:paddingRight">8dp</item> |
| 207 | <item name="android:gravity">center_vertical</item> |
| 208 | </style> |
| 209 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 210 | <style name="Base.Widget.AppCompat.ListView.DropDown" parent="android:Widget.ListView"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 211 | <item name="android:listSelector">@drawable/abc_list_selector_holo_dark</item> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 212 | <item name="android:divider">@null</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 213 | </style> |
| 214 | |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 215 | <style name="Base.Widget.AppCompat.Light.ListView.DropDown" parent="android:Widget.ListView"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 216 | <item name="android:listSelector">@drawable/abc_list_selector_holo_light</item> |
Qiwen Zhao | 9749190 | 2014-08-27 08:11:29 -0700 | [diff] [blame] | 217 | <item name="android:divider">@null</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 218 | </style> |
| 219 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 220 | <style name="Base.TextAppearance.AppCompat.Widget.DropDownItem" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 221 | parent="android:TextAppearance.Small"> |
| 222 | <item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item> |
| 223 | </style> |
| 224 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 225 | <style name="Base.TextAppearance.Widget.AppCompat.ExpandedMenu.Item" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 226 | parent="android:TextAppearance.Medium"> |
| 227 | <item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item> |
| 228 | </style> |
| 229 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 230 | <style name="Base.Widget.AppCompat.ListView.Menu" parent="android:Widget.ListView.Menu"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 231 | <item name="android:listSelector">?attr/listChoiceBackgroundIndicator</item> |
| 232 | <item name="android:divider">?attr/dividerHorizontal</item> |
| 233 | </style> |
| 234 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 235 | <style name="Base.Widget.AppCompat.ListPopupWindow" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 236 | <item name="android:dropDownSelector">@drawable/abc_list_selector_holo_dark</item> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 237 | <item name="android:popupBackground">@drawable/abc_popup_background_mtrl_mult</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 238 | <item name="android:dropDownVerticalOffset">0dip</item> |
| 239 | <item name="android:dropDownHorizontalOffset">0dip</item> |
| 240 | <item name="android:dropDownWidth">wrap_content</item> |
| 241 | </style> |
| 242 | |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 243 | <style name="Base.Widget.AppCompat.Light.ListPopupWindow" parent="Widget.AppCompat.ListPopupWindow"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 244 | <item name="android:dropDownSelector">@drawable/abc_list_selector_holo_light</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 245 | </style> |
| 246 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 247 | <style name="Base.Widget.AppCompat.PopupMenu.Overflow"> |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 248 | <item name="overlapAnchor">true</item> |
Bryan Mawhinney | 191b2af | 2014-09-03 14:24:53 +0100 | [diff] [blame] | 249 | <item name="android:dropDownHorizontalOffset">-4dip</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 250 | </style> |
| 251 | |
| 252 | <style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow"> |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 253 | <item name="overlapAnchor">true</item> |
Bryan Mawhinney | 191b2af | 2014-09-03 14:24:53 +0100 | [diff] [blame] | 254 | <item name="android:dropDownHorizontalOffset">-4dip</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 255 | </style> |
| 256 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 257 | <style name="Base.Widget.AppCompat.PopupMenu" parent="@style/Widget.AppCompat.ListPopupWindow"> |
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.Widget.AppCompat.Light.PopupMenu" parent="@style/Widget.AppCompat.Light.ListPopupWindow"> |
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.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.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.Light.Widget.PopupMenu.Large" parent="TextAppearance.AppCompat.Menu"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 270 | </style> |
| 271 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 272 | <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] | 273 | </style> |
| 274 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 275 | <style name="Base.TextAppearance.AppCompat.SearchResult" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 276 | <item name="android:textStyle">normal</item> |
| 277 | <item name="android:textColor">?android:textColorPrimary</item> |
| 278 | <item name="android:textColorHint">?android:textColorHint</item> |
| 279 | </style> |
| 280 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 281 | <style name="Base.TextAppearance.AppCompat.SearchResult.Title"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 282 | <item name="android:textSize">18sp</item> |
| 283 | </style> |
| 284 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 285 | <style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 286 | <item name="android:textSize">14sp</item> |
| 287 | <item name="android:textColor">?android:textColorSecondary</item> |
| 288 | </style> |
| 289 | |
Sailesh Nepal | 0c91dcd | 2014-08-18 18:18:10 -0700 | [diff] [blame] | 290 | <style name="Base.Widget.AppCompat.AutoCompleteTextView" parent="android:Widget.AutoCompleteTextView"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 291 | <item name="android:dropDownSelector">@drawable/abc_list_selector_holo_dark</item> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 292 | <item name="android:popupBackground">@drawable/abc_popup_background_mtrl_mult</item> |
Qiwen Zhao | dd1e888 | 2014-09-17 08:32:09 -0700 | [diff] [blame^] | 293 | <item name="android:textColor">?attr/editTextColor</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 294 | </style> |
| 295 | |
Sailesh Nepal | 0c91dcd | 2014-08-18 18:18:10 -0700 | [diff] [blame] | 296 | <style name="Base.Widget.AppCompat.Light.AutoCompleteTextView" parent="android:Widget.AutoCompleteTextView"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 297 | <item name="android:dropDownSelector">@drawable/abc_list_selector_holo_light</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 298 | </style> |
| 299 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 300 | <style name="Base.Widget.AppCompat.ActivityChooserView" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 301 | <item name="android:gravity">center</item> |
| 302 | <item name="android:background">@drawable/abc_ab_share_pack_holo_dark</item> |
| 303 | <item name="divider">?attr/dividerVertical</item> |
| 304 | <item name="showDividers">middle</item> |
| 305 | <item name="dividerPadding">6dip</item> |
| 306 | </style> |
| 307 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 308 | <style name="Base.Widget.AppCompat.Light.ActivityChooserView" |
| 309 | parent="Base.Widget.AppCompat.ActivityChooserView"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 310 | <item name="android:background">@drawable/abc_ab_share_pack_holo_light</item> |
| 311 | </style> |
| 312 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 313 | <style name="Base.Widget.AppCompat.PopupWindow" parent="android:Widget.PopupWindow"> |
| 314 | </style> |
| 315 | |
| 316 | <style name="Base.Widget.AppCompat.Toolbar" parent="android:Widget"> |
| 317 | <item name="titleTextAppearance">@style/TextAppearance.Widget.AppCompat.Toolbar.Title</item> |
| 318 | <item name="subtitleTextAppearance">@style/TextAppearance.Widget.AppCompat.Toolbar.Subtitle</item> |
| 319 | <item name="android:minHeight">?attr/actionBarSize</item> |
| 320 | <item name="titleMargins">4dp</item> |
| 321 | <item name="maxButtonHeight">56dp</item> |
| 322 | <item name="buttonGravity">top</item> |
| 323 | <item name="collapseIcon">?attr/homeAsUpIndicator</item> |
| 324 | <item name="contentInsetStart">16dp</item> |
| 325 | </style> |
| 326 | |
| 327 | <style name="Base.Widget.AppCompat.Toolbar.Button.Navigation" parent="android:Widget"> |
| 328 | <item name="android:minWidth">56dp</item> |
| 329 | <item name="android:scaleType">center</item> |
| 330 | <item name="android:background">?attr/selectableItemBackground</item> |
| 331 | </style> |
| 332 | |
| 333 | <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title" |
| 334 | parent="TextAppearance.AppCompat.Widget.ActionBar.Title"> |
| 335 | </style> |
| 336 | |
| 337 | <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle" |
| 338 | parent="TextAppearance.AppCompat.Widget.ActionBar.Subtitle"> |
| 339 | </style> |
| 340 | |
| 341 | <style name="Base.Widget.AppCompat.SearchView" parent="android:Widget"> |
| 342 | <item name="layout">@layout/abc_search_view</item> |
Qiwen Zhao | 464b41e | 2014-09-10 08:12:21 -0700 | [diff] [blame] | 343 | <item name="queryBackground">@drawable/abc_textfield_search_material</item> |
| 344 | <item name="submitBackground">@drawable/abc_textfield_search_material</item> |
| 345 | <item name="closeIcon">@drawable/abc_ic_clear_mtrl_alpha</item> |
| 346 | <item name="searchIcon">@drawable/abc_ic_search_api_mtrl_alpha</item> |
| 347 | <item name="goIcon">@drawable/abc_ic_go_search_api_mtrl_alpha</item> |
| 348 | <item name="voiceIcon">@drawable/abc_ic_voice_search_api_mtrl_alpha</item> |
| 349 | <item name="commitIcon">@drawable/abc_ic_commit_search_api_mtrl_alpha</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 350 | <item name="suggestionRowLayout">@layout/abc_search_dropdown_item_icons_2line</item> |
| 351 | </style> |
| 352 | |
Dharmesh Mokani | 371b2b6 | 2014-08-07 22:07:03 -0700 | [diff] [blame] | 353 | <style name="Base.Widget.AppCompat.EditText" parent="android:Widget.EditText"> |
| 354 | <item name="android:background">?attr/editTextBackground</item> |
| 355 | <item name="android:textColor">?attr/editTextColor</item> |
| 356 | <item name="android:textAppearance">?android:attr/textAppearanceMediumInverse</item> |
| 357 | </style> |
| 358 | |
Qiwen Zhao | 0ccdf35 | 2014-09-04 14:35:18 -0700 | [diff] [blame] | 359 | <style name="Base.Widget.AppCompat.DrawerArrowToggle" parent=""> |
Qiwen Zhao | 2e532df | 2014-09-05 10:52:43 -0700 | [diff] [blame] | 360 | <item name="color">?android:attr/textColorSecondary</item> |
Qiwen Zhao | 0ccdf35 | 2014-09-04 14:35:18 -0700 | [diff] [blame] | 361 | <item name="thickness">2dp</item> |
| 362 | <item name="barSize">18dp</item> |
| 363 | <item name="gapBetweenBars">3dp</item> |
| 364 | <item name="topBottomBarArrowSize">11.31dp</item> |
| 365 | <item name="middleBarArrowSize">16dp</item> |
| 366 | <item name="drawableSize">24dp</item> |
| 367 | <item name="spinBars">true</item> |
| 368 | </style> |
| 369 | |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 370 | </resources> |