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.Light.ActionBar.TabView.Inverse" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 34 | parent="android:Widget.Material.Light.ActionBar.TabView"> |
| 35 | </style> |
| 36 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 37 | <style name="Base.Widget.AppCompat.ActionBar.TabText" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 38 | parent="android:Widget.Material.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" |
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.Widget.AppCompat.Light.ActionBar.TabText.Inverse" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 46 | parent="android:Widget.Material.Light.ActionBar.TabText"> |
| 47 | </style> |
| 48 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 49 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Menu" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 50 | parent="android:TextAppearance.Material.Widget.ActionBar.Menu"> |
| 51 | </style> |
| 52 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 53 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 54 | parent="android:TextAppearance.Material.Widget.ActionBar.Title"> |
| 55 | </style> |
| 56 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 57 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 58 | parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle"> |
| 59 | </style> |
| 60 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 61 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 62 | parent="android:TextAppearance.Material.Widget.ActionBar.Title.Inverse"> |
| 63 | </style> |
| 64 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 65 | <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 66 | parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse"> |
| 67 | </style> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 68 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 69 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 70 | parent="android:TextAppearance.Material.Widget.ActionMode.Title"> |
| 71 | </style> |
| 72 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 73 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 74 | parent="android:TextAppearance.Material.Widget.ActionMode.Subtitle"> |
| 75 | </style> |
| 76 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 77 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title.Inverse" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 78 | parent="android:TextAppearance.Material.Widget.ActionMode.Title.Inverse"> |
| 79 | </style> |
| 80 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 81 | <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle.Inverse" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 82 | parent="android:TextAppearance.Material.Widget.ActionMode.Subtitle.Inverse"> |
| 83 | </style> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 84 | |
| 85 | <!-- Action Button Styles --> |
| 86 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 87 | <style name="Base.Widget.AppCompat.ActionButton" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 88 | parent="android:Widget.Material.ActionButton"> |
| 89 | </style> |
| 90 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 91 | <style name="Base.Widget.AppCompat.Light.ActionButton" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 92 | parent="android:Widget.Material.Light.ActionButton"> |
| 93 | </style> |
| 94 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 95 | <style name="Base.Widget.AppCompat.ActionButton.CloseMode" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 96 | parent="android:Widget.Material.ActionButton.CloseMode"> |
| 97 | </style> |
| 98 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 99 | <style name="Base.Widget.AppCompat.Light.ActionButton.CloseMode" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 100 | parent="android:Widget.Material.Light.ActionButton.CloseMode"> |
| 101 | </style> |
| 102 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 103 | <style name="Base.Widget.AppCompat.ActionButton.Overflow" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 104 | parent="android:Widget.Material.ActionButton.Overflow"> |
| 105 | </style> |
| 106 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 107 | <style name="Base.Widget.AppCompat.Light.ActionButton.Overflow" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 108 | parent="android:Widget.Material.Light.ActionButton.Overflow"> |
| 109 | </style> |
| 110 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 111 | <!-- |
| 112 | Widget.AppCompat.Toolbar style is purposely ommitted. This is because the support |
| 113 | Toolbar implementation is used on ALL platforms and relies on the unbundled attrs. |
| 114 | The supporting Toolbar styles below only use basic attrs so work fine. |
| 115 | --> |
| 116 | |
| 117 | <style name="Base.Widget.AppCompat.Toolbar.Button.Navigation" |
| 118 | parent="android:Widget.Material.Toolbar.Button.Navigation"> |
| 119 | </style> |
| 120 | |
| 121 | <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title" |
| 122 | parent="android:TextAppearance.Material.Widget.ActionBar.Title"> |
| 123 | </style> |
| 124 | |
| 125 | <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle" |
| 126 | parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle"> |
| 127 | </style> |
| 128 | |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 129 | <!-- Spinner Widgets --> |
| 130 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 131 | <style name="Base.Widget.AppCompat.ListView.DropDown" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 132 | parent="android:Widget.Material.ListView.DropDown"/> |
| 133 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 134 | <style name="Base.Widget.AppCompat.Light.ListView.DropDown" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 135 | parent="android:Widget.Material.ListView.DropDown"/> |
| 136 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 137 | <style name="Base.Widget.AppCompat.DropDownItem.Spinner" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 138 | parent="android:Widget.Material.DropDownItem.Spinner"/> |
| 139 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 140 | <style name="Base.Widget.AppCompat.Light.DropDownItem.Spinner" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 141 | parent="android:Widget.Material.Light.DropDownItem.Spinner"/> |
| 142 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 143 | <style name="Base.Widget.AppCompat.Spinner" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 144 | parent="android:Widget.Material.Spinner" /> |
| 145 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 146 | <style name="Base.Widget.AppCompat.Light.Spinner" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 147 | parent="android:Widget.Material.Light.Spinner"/> |
| 148 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 149 | <style name="Base.Widget.AppCompat.ListView.Menu" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 150 | parent="android:Widget.ListView.Menu" /> |
| 151 | |
| 152 | <!-- Popup Menu --> |
| 153 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 154 | <style name="Base.Widget.AppCompat.ListPopupWindow" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 155 | parent="android:Widget.Material.ListPopupWindow"> |
| 156 | </style> |
| 157 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 158 | <style name="Base.Widget.AppCompat.Light.ListPopupWindow" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 159 | parent="android:Widget.Material.Light.ListPopupWindow"> |
| 160 | </style> |
| 161 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 162 | <style name="Base.Widget.AppCompat.PopupMenu" parent="android:Widget.Material.PopupMenu"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 163 | </style> |
| 164 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 165 | <style name="Base.Widget.AppCompat.Light.PopupMenu" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 166 | parent="android:Widget.Material.Light.PopupMenu"> |
| 167 | </style> |
| 168 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 169 | <style name="Base.Widget.AppCompat.PopupMenu.Overflow"> |
| 170 | <item name="android:overlapAnchor">true</item> |
| 171 | </style> |
| 172 | |
| 173 | <style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow"> |
| 174 | <item name="android:overlapAnchor">true</item> |
| 175 | </style> |
| 176 | |
| 177 | <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 178 | parent="android:TextAppearance.Material.Widget.PopupMenu.Large"> |
| 179 | </style> |
| 180 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 181 | <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Small" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 182 | parent="android:TextAppearance.Material.Widget.PopupMenu.Small"> |
| 183 | </style> |
| 184 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 185 | <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Large" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 186 | parent="android:TextAppearance.Material.Widget.PopupMenu.Large"> |
| 187 | </style> |
| 188 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 189 | <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Small" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 190 | parent="android:TextAppearance.Material.Widget.PopupMenu.Small"> |
| 191 | </style> |
| 192 | |
| 193 | <!-- Search View result styles --> |
| 194 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 195 | <style name="Base.TextAppearance.AppCompat.SearchResult.Title" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 196 | parent="@android:TextAppearance.Material.SearchResult.Title"> |
| 197 | </style> |
| 198 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 199 | <style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 200 | parent="@android:TextAppearance.Material.SearchResult.Subtitle"> |
| 201 | </style> |
| 202 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 203 | <!-- Progress Bar --> |
| 204 | |
| 205 | <style name="Base.Widget.AppCompat.ProgressBar.Horizontal" |
| 206 | parent="android:Widget.Material.ProgressBar.Horizontal"> |
| 207 | </style> |
| 208 | |
| 209 | <style name="Base.Widget.AppCompat.ProgressBar" |
| 210 | parent="android:Widget.Material.ProgressBar"> |
| 211 | </style> |
| 212 | |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 213 | <!-- |
| 214 | TextAppearance.Material.Light.SearchResult.* are private so we extend from the default |
| 215 | versions instead (which are exactly the same). |
| 216 | --> |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 217 | <style name="Base.TextAppearance.AppCompat.Light.SearchResult.Title" |
| 218 | parent="Base.TextAppearance.AppCompat.SearchResult.Title"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 219 | </style> |
| 220 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 221 | <style name="Base.TextAppearance.AppCompat.Light.SearchResult.Subtitle" |
| 222 | parent="Base.TextAppearance.AppCompat.SearchResult.Subtitle"> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 223 | </style> |
| 224 | |
Sailesh Nepal | 08fd817 | 2014-07-28 06:37:53 -0700 | [diff] [blame^] | 225 | <!-- TODO. Needs updating for Material --> |
| 226 | <style name="Base.Widget.AppCompat.ActivityChooserView" parent=""> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 227 | <item name="android:gravity">center</item> |
| 228 | <item name="android:background">@drawable/abc_ab_share_pack_holo_dark</item> |
| 229 | <item name="android:divider">?attr/dividerVertical</item> |
| 230 | <item name="android:showDividers">middle</item> |
| 231 | <item name="android:dividerPadding">6dip</item> |
| 232 | </style> |
| 233 | |
| 234 | </resources> |