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> |
| 28 | <item name="homeLayout">@layout/abc_action_bar_home</item> |
| 29 | |
| 30 | <item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Title</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 31 | <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 32 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 33 | <item name="background">@null</item> |
| 34 | <item name="backgroundStacked">@null</item> |
| 35 | <item name="backgroundSplit">@null</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 36 | |
| 37 | <item name="actionButtonStyle">@style/Widget.AppCompat.ActionButton</item> |
| 38 | <item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow</item> |
| 39 | |
| 40 | <item name="progressBarStyle">@style/Widget.AppCompat.ProgressBar.Horizontal</item> |
| 41 | <item name="indeterminateProgressStyle">@style/Widget.AppCompat.ProgressBar</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 42 | |
| 43 | <item name="android:gravity">center_vertical</item> |
Ying Wang | bb09c25 | 2014-08-05 14:40:52 -0700 | [diff] [blame^] | 44 | <item name="elevation">8dp</item> |
| 45 | <item name="popupTheme">?attr/actionBarPopupTheme</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 46 | </style> |
| 47 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 48 | <style name="Base.Widget.AppCompat.Light.ActionBar" parent="Base.Widget.AppCompat.ActionBar"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 49 | <item name="actionButtonStyle">@style/Widget.AppCompat.Light.ActionButton</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 50 | <item name="actionOverflowButtonStyle">@style/Widget.AppCompat.Light.ActionButton.Overflow</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 51 | </style> |
| 52 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 53 | <style name="Base.Widget.AppCompat.ActionBar.Solid"> |
| 54 | <item name="background">?attr/colorPrimary</item> |
| 55 | <item name="backgroundStacked">?attr/colorPrimary</item> |
| 56 | <item name="backgroundSplit">?attr/colorPrimary</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 57 | </style> |
| 58 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 59 | <style name="Base.Widget.AppCompat.Light.ActionBar.Solid"> |
| 60 | <item name="background">?attr/colorPrimary</item> |
| 61 | <item name="backgroundStacked">?attr/colorPrimary</item> |
| 62 | <item name="backgroundSplit">?attr/colorPrimary</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 63 | </style> |
| 64 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 65 | <style name="Base.Widget.AppCompat.ActionButton" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 66 | <item name="android:background">?attr/actionBarItemBackground</item> |
| 67 | <item name="android:paddingLeft">12dip</item> |
| 68 | <item name="android:paddingRight">12dip</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 69 | <item name="android:minWidth">@dimen/abc_action_button_min_width_material</item> |
| 70 | <item name="android:minHeight">@dimen/abc_action_button_min_height_material</item> |
| 71 | <item name="android:scaleType">center</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 72 | <item name="android:gravity">center</item> |
| 73 | <item name="android:maxLines">2</item> |
| 74 | <item name="textAllCaps">@bool/abc_config_actionMenuItemAllCaps</item> |
| 75 | </style> |
| 76 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 77 | <style name="Base.Widget.AppCompat.Light.ActionButton" parent="Base.Widget.AppCompat.ActionButton"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 78 | </style> |
| 79 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 80 | <style name="Base.Widget.AppCompat.ActionButton.CloseMode" parent="Base.Widget.AppCompat.ActionButton"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 81 | </style> |
| 82 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 83 | <style name="Base.Widget.AppCompat.Light.ActionButton.CloseMode" parent="Base.Widget.AppCompat.Light.ActionButton"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 84 | </style> |
| 85 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 86 | <style name="Base.Widget.AppCompat.ActionButton.Overflow" parent="Base.Widget.AppCompat.ActionButton"> |
| 87 | <item name="android:src">@drawable/abc_ic_menu_moreoverflow_material_dark</item> |
| 88 | <item name="android:minWidth">@dimen/abc_action_overflow_min_width_material</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.ActionButton.Overflow" parent="Base.Widget.AppCompat.Light.ActionButton"> |
| 92 | <item name="android:src">@drawable/abc_ic_menu_moreoverflow_material_light</item> |
| 93 | <item name="android:minWidth">@dimen/abc_action_overflow_min_width_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 94 | </style> |
| 95 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 96 | <style name="Base.Widget.AppCompat.ActionBar.TabBar" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 97 | <item name="divider">?attr/actionBarDivider</item> |
| 98 | <item name="showDividers">middle</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 99 | <item name="dividerPadding">8dip</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 100 | </style> |
| 101 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 102 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabBar" |
| 103 | parent="Base.Widget.AppCompat.ActionBar.TabBar"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 104 | </style> |
| 105 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 106 | <style name="Base.Widget.AppCompat.ActionBar.TabView" parent=""> |
| 107 | <item name="android:background">@drawable/abc_tab_indicator_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 108 | <item name="android:gravity">center_horizontal</item> |
| 109 | <item name="android:paddingLeft">16dip</item> |
| 110 | <item name="android:paddingRight">16dip</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 111 | <item name="android:layout_width">0dip</item> |
| 112 | <item name="android:layout_weight">1</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 113 | <item name="android:minWidth">80dip</item> |
| 114 | </style> |
| 115 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 116 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabView" |
| 117 | parent="Base.Widget.AppCompat.ActionBar.TabView"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 118 | </style> |
| 119 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 120 | <style name="Base.Widget.AppCompat.ActionBar.TabText" parent=""> |
| 121 | <item name="android:textAppearance">@style/TextAppearance.AppCompat.Medium</item> |
Ying Wang | bb09c25 | 2014-08-05 14:40:52 -0700 | [diff] [blame^] | 122 | <item name="android:textColor">?android:attr/textColorPrimary</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 123 | <item name="android:textSize">12sp</item> |
| 124 | <item name="android:textStyle">bold</item> |
| 125 | <item name="android:ellipsize">marquee</item> |
| 126 | <item name="android:maxLines">2</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 127 | <item name="android:maxWidth">180dp</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 128 | <item name="textAllCaps">true</item> |
| 129 | </style> |
| 130 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 131 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabText" |
| 132 | parent="Base.Widget.AppCompat.ActionBar.TabText"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 133 | </style> |
| 134 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 135 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse" |
| 136 | parent="Base.Widget.AppCompat.Light.ActionBar.TabText"> |
| 137 | <item name="android:textAppearance">@style/TextAppearance.AppCompat.Medium.Inverse</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 138 | </style> |
| 139 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 140 | <style name="Base.Widget.AppCompat.ActionMode" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 141 | <item name="background">?attr/actionModeBackground</item> |
| 142 | <item name="backgroundSplit">?attr/actionModeSplitBackground</item> |
| 143 | <item name="height">?attr/actionBarSize</item> |
| 144 | <item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Title</item> |
| 145 | <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle |
| 146 | </item> |
| 147 | </style> |
| 148 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 149 | <style name="Base.Widget.AppCompat.Light.ActionMode.Inverse" parent="Base.Widget.AppCompat.ActionMode"> |
| 150 | <item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Title.Inverse</item> |
| 151 | <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle.Inverse</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 152 | </style> |
| 153 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 154 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title" parent="TextAppearance.AppCompat.Medium"> |
| 155 | <item name="android:textSize">@dimen/abc_action_bar_title_text_size_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 156 | </style> |
| 157 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 158 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle" parent="TextAppearance.AppCompat.Small"> |
| 159 | <item name="android:textSize">@dimen/abc_action_bar_subtitle_text_size_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 160 | </style> |
| 161 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 162 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title.Inverse" parent="TextAppearance.AppCompat.Medium.Inverse"> |
| 163 | <item name="android:textSize">@dimen/abc_action_bar_title_text_size_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 164 | </style> |
| 165 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 166 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle.Inverse" parent="TextAppearance.AppCompat.Small.Inverse"> |
| 167 | <item name="android:textSize">@dimen/abc_action_bar_subtitle_text_size_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 168 | </style> |
| 169 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 170 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Menu" parent="android:TextAppearance.Small"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 171 | <item name="android:textSize">12sp</item> |
| 172 | <item name="android:textStyle">bold</item> |
| 173 | <item name="android:textColor">?attr/actionMenuTextColor</item> |
| 174 | </style> |
| 175 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 176 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title" parent="TextAppearance.AppCompat.Medium"> |
| 177 | <item name="android:textSize">@dimen/abc_action_bar_title_text_size_material</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 178 | <item name="android:textColor">?android:attr/textColorPrimary</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 179 | </style> |
| 180 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 181 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" parent="TextAppearance.AppCompat.Small"> |
| 182 | <item name="android:textSize">@dimen/abc_action_bar_subtitle_text_size_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 183 | </style> |
| 184 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 185 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse" parent="TextAppearance.AppCompat.Medium.Inverse"> |
| 186 | <item name="android:textSize">@dimen/abc_action_bar_title_text_size_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 187 | </style> |
| 188 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 189 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse" parent="TextAppearance.AppCompat.Small.Inverse"> |
| 190 | <item name="android:textSize">@dimen/abc_action_bar_subtitle_text_size_material</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 191 | </style> |
| 192 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 193 | <style name="Base.Widget.AppCompat.ProgressBar.Horizontal" parent="android:Widget.ProgressBar.Horizontal"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 194 | </style> |
| 195 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 196 | <style name="Base.Widget.AppCompat.ProgressBar" parent="android:Widget.ProgressBar"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 197 | <item name="android:minWidth">@dimen/abc_action_bar_progress_bar_size</item> |
| 198 | <item name="android:maxWidth">@dimen/abc_action_bar_progress_bar_size</item> |
| 199 | <item name="android:minHeight">@dimen/abc_action_bar_progress_bar_size</item> |
| 200 | <item name="android:maxHeight">@dimen/abc_action_bar_progress_bar_size</item> |
| 201 | </style> |
| 202 | |
| 203 | <!-- Action Bar Spinner Widgets --> |
| 204 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 205 | <style name="Base.Widget.AppCompat.Spinner" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 206 | <item name="spinnerMode">dropdown</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 207 | |
| 208 | <item name="android:clickable">true</item> |
| 209 | <item name="android:background">@drawable/abc_spinner_background_material_dark</item> |
| 210 | <item name="android:dropDownSelector">?attr/listChoiceBackgroundIndicator</item> |
| 211 | <item name="android:popupBackground">@drawable/abc_popup_background_material_dark</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 212 | <item name="android:dropDownVerticalOffset">0dip</item> |
| 213 | <item name="android:dropDownHorizontalOffset">0dip</item> |
| 214 | <item name="android:dropDownWidth">wrap_content</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 215 | <item name="popupPromptView">@layout/abc_simple_dropdown_hint</item> |
| 216 | <item name="android:gravity">left|start|center_vertical</item> |
| 217 | <item name="disableChildrenWhenDisabled">true</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.Widget.AppCompat.Light.Spinner" parent="Base.Widget.AppCompat.Spinner"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 221 | <item name="android:dropDownSelector">@drawable/abc_list_selector_holo_light</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 222 | <item name="android:popupBackground">@drawable/abc_popup_background_material_light</item> |
| 223 | <item name="android:background">@drawable/abc_spinner_background_material_light</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 224 | </style> |
| 225 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 226 | <style name="Base.Widget.AppCompat.DropDownItem.Spinner" parent=""> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 227 | <item name="android:textAppearance">@style/TextAppearance.AppCompat.Widget.DropDownItem</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 228 | <item name="android:paddingLeft">8dp</item> |
| 229 | <item name="android:paddingRight">8dp</item> |
| 230 | <item name="android:gravity">center_vertical</item> |
| 231 | </style> |
| 232 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 233 | <style name="Base.Widget.AppCompat.Light.DropDownItem.Spinner" |
| 234 | parent="Base.Widget.AppCompat.DropDownItem.Spinner"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 235 | </style> |
| 236 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 237 | <style name="Base.Widget.AppCompat.ListView.DropDown" parent="android:Widget.ListView"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 238 | <item name="android:listSelector">@drawable/abc_list_selector_holo_dark</item> |
| 239 | </style> |
| 240 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 241 | <style name="Base.Widget.AppCompat.Light.ListView.DropDown" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 242 | parent="android:Widget.ListView"> |
| 243 | <item name="android:listSelector">@drawable/abc_list_selector_holo_light</item> |
| 244 | </style> |
| 245 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 246 | <style name="Base.TextAppearance.AppCompat.Widget.DropDownItem" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 247 | parent="android:TextAppearance.Small"> |
| 248 | <item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item> |
| 249 | </style> |
| 250 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 251 | <style name="Base.TextAppearance.Widget.AppCompat.ExpandedMenu.Item" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 252 | parent="android:TextAppearance.Medium"> |
| 253 | <item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item> |
| 254 | </style> |
| 255 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 256 | <style name="Base.Widget.AppCompat.ListView.Menu" parent="android:Widget.ListView.Menu"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 257 | <item name="android:listSelector">?attr/listChoiceBackgroundIndicator</item> |
| 258 | <item name="android:divider">?attr/dividerHorizontal</item> |
| 259 | </style> |
| 260 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 261 | <style name="Base.Widget.AppCompat.ListPopupWindow" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 262 | <item name="android:dropDownSelector">@drawable/abc_list_selector_holo_dark</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 263 | <item name="android:popupBackground">@drawable/abc_popup_background_material_dark</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 264 | <item name="android:dropDownVerticalOffset">0dip</item> |
| 265 | <item name="android:dropDownHorizontalOffset">0dip</item> |
| 266 | <item name="android:dropDownWidth">wrap_content</item> |
| 267 | </style> |
| 268 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 269 | <style name="Base.Widget.AppCompat.Light.ListPopupWindow" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 270 | <item name="android:dropDownSelector">@drawable/abc_list_selector_holo_light</item> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 271 | <item name="android:popupBackground">@drawable/abc_popup_background_material_light</item> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 272 | <item name="android:dropDownVerticalOffset">0dip</item> |
| 273 | <item name="android:dropDownHorizontalOffset">0dip</item> |
| 274 | <item name="android:dropDownWidth">wrap_content</item> |
| 275 | </style> |
| 276 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 277 | <style name="Base.Widget.AppCompat.PopupMenu.Overflow"> |
| 278 | </style> |
| 279 | |
| 280 | <style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow"> |
| 281 | </style> |
| 282 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 283 | <style name="Base.Widget.AppCompat.PopupMenu" parent="@style/Widget.AppCompat.ListPopupWindow"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 284 | </style> |
| 285 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 286 | <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] | 287 | </style> |
| 288 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 289 | <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large" parent="TextAppearance.AppCompat.Menu"> |
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.TextAppearance.AppCompat.Widget.PopupMenu.Small" parent="TextAppearance.AppCompat.Menu"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 293 | </style> |
| 294 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 295 | <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] | 296 | </style> |
| 297 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 298 | <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] | 299 | </style> |
| 300 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 301 | <style name="Base.TextAppearance.AppCompat.SearchResult" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 302 | <item name="android:textStyle">normal</item> |
| 303 | <item name="android:textColor">?android:textColorPrimary</item> |
| 304 | <item name="android:textColorHint">?android:textColorHint</item> |
| 305 | </style> |
| 306 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 307 | <style name="Base.TextAppearance.AppCompat.SearchResult.Title"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 308 | <item name="android:textSize">18sp</item> |
| 309 | </style> |
| 310 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 311 | <style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 312 | <item name="android:textSize">14sp</item> |
| 313 | <item name="android:textColor">?android:textColorSecondary</item> |
| 314 | </style> |
| 315 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 316 | <style name="Base.TextAppearance.AppCompat.Light.SearchResult" |
| 317 | parent="Base.TextAppearance.AppCompat.SearchResult"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 318 | <item name="android:textColor">?android:textColorPrimary</item> |
| 319 | <item name="android:textColorHint">?android:textColorHint</item> |
| 320 | </style> |
| 321 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 322 | <style name="Base.TextAppearance.AppCompat.Light.SearchResult.Title"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 323 | <item name="android:textSize">18sp</item> |
| 324 | </style> |
| 325 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 326 | <style name="Base.TextAppearance.AppCompat.Light.SearchResult.Subtitle"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 327 | <item name="android:textSize">14sp</item> |
| 328 | <item name="android:textColor">?android:textColorSecondary</item> |
| 329 | </style> |
| 330 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 331 | <style name="Base.Widget.AppCompat.AutoCompleteTextView" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 332 | parent="android:Widget.AutoCompleteTextView"> |
| 333 | <item name="android:textColor">?attr/actionMenuTextColor</item> |
| 334 | <item name="android:dropDownSelector">@drawable/abc_list_selector_holo_dark</item> |
| 335 | <item name="android:popupBackground">@drawable/abc_menu_dropdown_panel_holo_dark</item> |
| 336 | </style> |
| 337 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 338 | <style name="Base.Widget.AppCompat.Light.AutoCompleteTextView" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 339 | parent="android:Widget.AutoCompleteTextView"> |
| 340 | <item name="android:textColor">?attr/actionMenuTextColor</item> |
| 341 | <item name="android:dropDownSelector">@drawable/abc_list_selector_holo_light</item> |
| 342 | <item name="android:popupBackground">@drawable/abc_menu_dropdown_panel_holo_light</item> |
| 343 | </style> |
| 344 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 345 | <style name="Base.Widget.AppCompat.ActivityChooserView" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 346 | <item name="android:gravity">center</item> |
| 347 | <item name="android:background">@drawable/abc_ab_share_pack_holo_dark</item> |
| 348 | <item name="divider">?attr/dividerVertical</item> |
| 349 | <item name="showDividers">middle</item> |
| 350 | <item name="dividerPadding">6dip</item> |
| 351 | </style> |
| 352 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 353 | <style name="Base.Widget.AppCompat.Light.ActivityChooserView" |
| 354 | parent="Base.Widget.AppCompat.ActivityChooserView"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 355 | <item name="android:background">@drawable/abc_ab_share_pack_holo_light</item> |
| 356 | </style> |
| 357 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 358 | <style name="Base.Widget.AppCompat.PopupWindow" parent="android:Widget.PopupWindow"> |
| 359 | </style> |
| 360 | |
| 361 | <style name="Base.Widget.AppCompat.Toolbar" parent="android:Widget"> |
| 362 | <item name="titleTextAppearance">@style/TextAppearance.Widget.AppCompat.Toolbar.Title</item> |
| 363 | <item name="subtitleTextAppearance">@style/TextAppearance.Widget.AppCompat.Toolbar.Subtitle</item> |
| 364 | <item name="android:minHeight">?attr/actionBarSize</item> |
| 365 | <item name="titleMargins">4dp</item> |
| 366 | <item name="maxButtonHeight">56dp</item> |
| 367 | <item name="buttonGravity">top</item> |
| 368 | <item name="collapseIcon">?attr/homeAsUpIndicator</item> |
| 369 | <item name="contentInsetStart">16dp</item> |
| 370 | </style> |
| 371 | |
| 372 | <style name="Base.Widget.AppCompat.Toolbar.Button.Navigation" parent="android:Widget"> |
| 373 | <item name="android:minWidth">56dp</item> |
| 374 | <item name="android:scaleType">center</item> |
| 375 | <item name="android:background">?attr/selectableItemBackground</item> |
| 376 | </style> |
| 377 | |
| 378 | <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title" |
| 379 | parent="TextAppearance.AppCompat.Widget.ActionBar.Title"> |
| 380 | </style> |
| 381 | |
| 382 | <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle" |
| 383 | parent="TextAppearance.AppCompat.Widget.ActionBar.Subtitle"> |
| 384 | </style> |
| 385 | |
| 386 | <style name="Base.Widget.AppCompat.SearchView" parent="android:Widget"> |
| 387 | <item name="layout">@layout/abc_search_view</item> |
| 388 | <item name="queryBackground">@drawable/abc_textfield_search_material_dark</item> |
| 389 | <item name="submitBackground">@drawable/abc_textfield_search_material_dark</item> |
| 390 | <item name="closeIcon">@drawable/abc_ic_clear_material_dark</item> |
| 391 | <item name="searchIcon">@drawable/abc_ic_search_api_material_dark</item> |
| 392 | <item name="goIcon">@drawable/abc_ic_go_search_api_material_dark</item> |
| 393 | <item name="voiceIcon">@drawable/abc_ic_voice_search_api_material_dark</item> |
| 394 | <item name="commitIcon">@drawable/abc_ic_commit_search_api_material_dark</item> |
| 395 | <item name="suggestionRowLayout">@layout/abc_search_dropdown_item_icons_2line</item> |
| 396 | </style> |
| 397 | |
| 398 | <style name="Base.Widget.AppCompat.Light.SearchView" parent="android:Widget"> |
| 399 | <item name="layout">@layout/abc_search_view</item> |
| 400 | <item name="queryBackground">@drawable/abc_textfield_search_material_light</item> |
| 401 | <item name="submitBackground">@drawable/abc_textfield_search_material_light</item> |
| 402 | <item name="closeIcon">@drawable/abc_ic_clear_material_light</item> |
| 403 | <item name="searchIcon">@drawable/abc_ic_search_api_material_light</item> |
| 404 | <item name="goIcon">@drawable/abc_ic_go_search_api_material_light</item> |
| 405 | <item name="voiceIcon">@drawable/abc_ic_voice_search_api_material_light</item> |
| 406 | <item name="commitIcon">@drawable/abc_ic_commit_search_api_material_light</item> |
| 407 | <item name="suggestionRowLayout">@layout/abc_search_dropdown_item_icons_2line</item> |
| 408 | </style> |
| 409 | |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 410 | </resources> |