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 | |
| 19 | <!-- |
Sailesh Nepal | 1646fd2 | 2014-07-30 06:50:53 -0700 | [diff] [blame] | 20 | Theme in the "Platform.AppCompat" family are designed to be aliases for the default |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 21 | theme on a given platform version. They should not set any styleable attributes. Instead |
Sailesh Nepal | 1646fd2 | 2014-07-30 06:50:53 -0700 | [diff] [blame] | 22 | you should create a "Theme.Base" theme which inherits from a "Platform" theme. |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 23 | --> |
| 24 | <eat-comment/> |
| 25 | |
Sailesh Nepal | 1646fd2 | 2014-07-30 06:50:53 -0700 | [diff] [blame] | 26 | <style name="Platform.AppCompat.DialogWhenLarge" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 27 | parent="android:Theme.Holo.DialogWhenLarge" /> |
| 28 | |
Sailesh Nepal | 1646fd2 | 2014-07-30 06:50:53 -0700 | [diff] [blame] | 29 | <style name="Platform.AppCompat.Light.DialogWhenLarge" |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 30 | parent="android:Theme.Holo.Light.DialogWhenLarge" /> |
| 31 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 32 | <style name="Base.Theme.AppCompat.DialogWhenLarge" |
| 33 | parent="Base.Theme.AppCompat.DialogWhenLarge.Base" /> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 34 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 35 | <style name="Base.Theme.AppCompat.Light.DialogWhenLarge" |
| 36 | parent="Base.Theme.AppCompat.Light.DialogWhenLarge.Base" /> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 37 | |
| 38 | <!-- |
| 39 | As we have defined the theme in values-large (for compat) and values-large takes precedence |
| 40 | over values-v14, we need to reset back to the Holo parent in values-large-v14. As the themes |
| 41 | in values-v14 & values-large-v14 are exactly the same, these "double base" themes can be |
| 42 | inherited from in both values-v14 and values-large-v14. |
| 43 | --> |
| 44 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 45 | <style name="Base.Theme.AppCompat.DialogWhenLarge.Base" |
Sailesh Nepal | 1646fd2 | 2014-07-30 06:50:53 -0700 | [diff] [blame] | 46 | parent="Platform.AppCompat.DialogWhenLarge"> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 47 | <!-- TODO: Need fixing once Base.Theme.AppCompat themes are done --> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 48 | </style> |
| 49 | |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 50 | <style name="Base.Theme.AppCompat.Light.DialogWhenLarge.Base" |
Sailesh Nepal | 1646fd2 | 2014-07-30 06:50:53 -0700 | [diff] [blame] | 51 | parent="Platform.AppCompat.Light.DialogWhenLarge"> |
Dharmesh Mokani | 66e1d30 | 2014-07-25 15:27:41 -0700 | [diff] [blame] | 52 | <!-- TODO: Need fixing once Base.Theme.AppCompat themes are done --> |
Ying Wang | 1ee37af | 2014-07-14 17:26:42 -0700 | [diff] [blame] | 53 | </style> |
| 54 | |
| 55 | </resources> |