Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2014 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | |
| 18 | <resources> |
| 19 | |
| 20 | <!-- Like in themes_base.xml, the namespace "*.AppCompat.Base" is used to |
| 21 | define base styles for the platform version. The "*.AppCompat" |
| 22 | variants are for direct use or use as parent styles by the app. --> |
| 23 | <eat-comment/> |
| 24 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 25 | <style name="Base.Widget.AppCompat.ActionBar.TabView" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 26 | parent="android:Widget.Material.ActionBar.TabView"> |
| 27 | </style> |
| 28 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 29 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabView" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 30 | parent="android:Widget.Material.Light.ActionBar.TabView"> |
| 31 | </style> |
| 32 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 33 | <style name="Base.Widget.AppCompat.ActionBar.TabText" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 34 | parent="android:Widget.Material.ActionBar.TabText"> |
| 35 | </style> |
| 36 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 37 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabText" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 38 | parent="android:Widget.Material.Light.ActionBar.TabText"> |
| 39 | </style> |
| 40 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 41 | <style name="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 42 | parent="android:Widget.Material.Light.ActionBar.TabText"> |
| 43 | </style> |
| 44 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 45 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Menu" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 46 | parent="android:TextAppearance.Material.Widget.ActionBar.Menu"> |
| 47 | </style> |
| 48 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 49 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 50 | parent="android:TextAppearance.Material.Widget.ActionBar.Title"> |
| 51 | </style> |
| 52 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 53 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 54 | parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle"> |
| 55 | </style> |
| 56 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 57 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 58 | parent="android:TextAppearance.Material.Widget.ActionBar.Title.Inverse"> |
| 59 | </style> |
| 60 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 61 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 62 | parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse"> |
| 63 | </style> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 64 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 65 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 66 | parent="android:TextAppearance.Material.Widget.ActionMode.Title"> |
| 67 | </style> |
| 68 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 69 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 70 | parent="android:TextAppearance.Material.Widget.ActionMode.Subtitle"> |
| 71 | </style> |
| 72 | |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 73 | <!-- Action Button Styles --> |
| 74 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 75 | <style name="Base.Widget.AppCompat.ActionButton" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 76 | parent="android:Widget.Material.ActionButton"> |
| 77 | </style> |
| 78 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 79 | <style name="Base.Widget.AppCompat.ActionButton.CloseMode" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 80 | parent="android:Widget.Material.ActionButton.CloseMode"> |
| 81 | </style> |
| 82 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 83 | <style name="Base.Widget.AppCompat.ActionButton.Overflow" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 84 | parent="android:Widget.Material.ActionButton.Overflow"> |
| 85 | </style> |
| 86 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 87 | <!-- |
| 88 | Widget.AppCompat.Toolbar style is purposely ommitted. This is because the support |
| 89 | Toolbar implementation is used on ALL platforms and relies on the unbundled attrs. |
| 90 | The supporting Toolbar styles below only use basic attrs so work fine. |
| 91 | --> |
| 92 | |
| 93 | <style name="Base.Widget.AppCompat.Toolbar.Button.Navigation" |
| 94 | parent="android:Widget.Material.Toolbar.Button.Navigation"> |
| 95 | </style> |
| 96 | |
| 97 | <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title" |
| 98 | parent="android:TextAppearance.Material.Widget.ActionBar.Title"> |
| 99 | </style> |
| 100 | |
| 101 | <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle" |
| 102 | parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle"> |
| 103 | </style> |
| 104 | |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 105 | <!-- Spinner Widgets --> |
| 106 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 107 | <style name="Base.Widget.AppCompat.ListView.DropDown" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 108 | parent="android:Widget.Material.ListView.DropDown"/> |
| 109 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 110 | <style name="Base.Widget.AppCompat.DropDownItem.Spinner" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 111 | parent="android:Widget.Material.DropDownItem.Spinner"/> |
| 112 | |
Sailesh Nepal | 6aef769 | 2014-09-25 12:13:04 -0700 | [diff] [blame] | 113 | <style name="Base.Widget.AppCompat.Spinner" parent="android:Widget.Material.Spinner" /> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 114 | |
Alan Newberger | c776915 | 2014-10-24 11:08:49 -0700 | [diff] [blame] | 115 | <style name="Base.Widget.AppCompat.Spinner.Underlined" parent="android:Widget.Material.Spinner.Underlined" /> |
| 116 | |
Sailesh Nepal | 6aef769 | 2014-09-25 12:13:04 -0700 | [diff] [blame] | 117 | <style name="Base.Widget.AppCompat.Spinner.DropDown.ActionBar" parent="android:Widget.Material.Spinner"> |
Yao Chen | 8269d93 | 2014-08-11 14:04:58 -0700 | [diff] [blame] | 118 | <item name="spinnerMode">dropdown</item> |
| 119 | <item name="disableChildrenWhenDisabled">true</item> |
| 120 | <item name="popupPromptView">@layout/abc_simple_dropdown_hint</item> |
| 121 | </style> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 122 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 123 | <style name="Base.Widget.AppCompat.ListView.Menu" |
Qiwen Zhao | e081e30 | 2014-09-19 17:49:39 -0700 | [diff] [blame] | 124 | parent="android:Widget.Material.ListView" /> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 125 | |
| 126 | <!-- Popup Menu --> |
| 127 | |
Sailesh Nepal | 6aef769 | 2014-09-25 12:13:04 -0700 | [diff] [blame] | 128 | <style name="Base.Widget.AppCompat.ListPopupWindow" parent="android:Widget.Material.ListPopupWindow"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 129 | </style> |
| 130 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 131 | <style name="Base.Widget.AppCompat.PopupMenu" parent="android:Widget.Material.PopupMenu"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 132 | </style> |
| 133 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 134 | <style name="Base.Widget.AppCompat.Light.PopupMenu" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 135 | parent="android:Widget.Material.Light.PopupMenu"> |
| 136 | </style> |
| 137 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 138 | <style name="Base.Widget.AppCompat.PopupMenu.Overflow"> |
Bryan Mawhinney | 191b2af | 2014-09-03 14:24:53 +0100 | [diff] [blame] | 139 | <item name="android:dropDownHorizontalOffset">-4dip</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 140 | <item name="android:overlapAnchor">true</item> |
| 141 | </style> |
| 142 | |
| 143 | <style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow"> |
Bryan Mawhinney | 191b2af | 2014-09-03 14:24:53 +0100 | [diff] [blame] | 144 | <item name="android:dropDownHorizontalOffset">-4dip</item> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 145 | <item name="android:overlapAnchor">true</item> |
| 146 | </style> |
| 147 | |
| 148 | <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 149 | parent="android:TextAppearance.Material.Widget.PopupMenu.Large"> |
| 150 | </style> |
| 151 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 152 | <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Small" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 153 | parent="android:TextAppearance.Material.Widget.PopupMenu.Small"> |
| 154 | </style> |
| 155 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 156 | <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Large" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 157 | parent="android:TextAppearance.Material.Widget.PopupMenu.Large"> |
| 158 | </style> |
| 159 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 160 | <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Small" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 161 | parent="android:TextAppearance.Material.Widget.PopupMenu.Small"> |
| 162 | </style> |
| 163 | |
| 164 | <!-- Search View result styles --> |
| 165 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 166 | <style name="Base.TextAppearance.AppCompat.SearchResult.Title" |
Qiwen Zhao | 62947d3 | 2014-11-04 11:14:35 -0800 | [diff] [blame] | 167 | parent="android:TextAppearance.Material.SearchResult.Title"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 168 | </style> |
| 169 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 170 | <style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle" |
Qiwen Zhao | 62947d3 | 2014-11-04 11:14:35 -0800 | [diff] [blame] | 171 | parent="android:TextAppearance.Material.SearchResult.Subtitle"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 172 | </style> |
| 173 | |
Sailesh Nepal | 0c91dcd | 2014-08-18 18:18:10 -0700 | [diff] [blame] | 174 | <style name="Base.Widget.AppCompat.AutoCompleteTextView" parent="android:Widget.Material.AutoCompleteTextView" /> |
| 175 | |
Alan Newberger | c776915 | 2014-10-24 11:08:49 -0700 | [diff] [blame] | 176 | <style name="Base.Widget.AppCompat.RatingBar" parent="android:Widget.Material.RatingBar" /> |
| 177 | |
Qiwen Zhao | 62947d3 | 2014-11-04 11:14:35 -0800 | [diff] [blame] | 178 | <style name="Base.Widget.AppCompat.Button" parent="android:Widget.Material.Button" /> |
Alan Newberger | c776915 | 2014-10-24 11:08:49 -0700 | [diff] [blame] | 179 | |
Qiwen Zhao | 62947d3 | 2014-11-04 11:14:35 -0800 | [diff] [blame] | 180 | <style name="Base.Widget.AppCompat.Button.Small" parent="android:Widget.Material.Button.Small" /> |
Sailesh Nepal | 0c91dcd | 2014-08-18 18:18:10 -0700 | [diff] [blame] | 181 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame] | 182 | <!-- Progress Bar --> |
| 183 | |
| 184 | <style name="Base.Widget.AppCompat.ProgressBar.Horizontal" |
| 185 | parent="android:Widget.Material.ProgressBar.Horizontal"> |
| 186 | </style> |
| 187 | |
| 188 | <style name="Base.Widget.AppCompat.ProgressBar" |
| 189 | parent="android:Widget.Material.ProgressBar"> |
| 190 | </style> |
Qiwen Zhao | 4a61fbd | 2014-11-21 09:51:56 -0800 | [diff] [blame] | 191 | |
| 192 | <style name="Base.Widget.AppCompat.TextView.SpinnerItem" parent="android:Widget.Material.TextView.SpinnerItem" /> |
| 193 | |
| 194 | <style name="Base.TextAppearance.AppCompat.Widget.TextView.SpinnerItem" parent="android:TextAppearance.Material.Widget.TextView.SpinnerItem" /> |
| 195 | |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 196 | </resources> |