blob: 8fa3247b5b955fb6280ed9fbb4259ee0fe33cb3c [file] [log] [blame]
Ying Wang1ee37af2014-07-14 17:26:42 -07001<?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 Nepal1646fd22014-07-30 06:50:53 -070020 Theme in the "Platform.AppCompat" family are designed to be aliases for the default
Ying Wang1ee37af2014-07-14 17:26:42 -070021 theme on a given platform version. They should not set any styleable attributes. Instead
Sailesh Nepal1646fd22014-07-30 06:50:53 -070022 you should create a "Theme.Base" theme which inherits from a "Platform" theme.
Ying Wang1ee37af2014-07-14 17:26:42 -070023 -->
24 <eat-comment/>
25
Sailesh Nepal1646fd22014-07-30 06:50:53 -070026 <style name="Platform.AppCompat.DialogWhenLarge"
Ying Wang1ee37af2014-07-14 17:26:42 -070027 parent="android:Theme.Holo.DialogWhenLarge" />
28
Sailesh Nepal1646fd22014-07-30 06:50:53 -070029 <style name="Platform.AppCompat.Light.DialogWhenLarge"
Ying Wang1ee37af2014-07-14 17:26:42 -070030 parent="android:Theme.Holo.Light.DialogWhenLarge" />
31
Dharmesh Mokani66e1d302014-07-25 15:27:41 -070032 <style name="Base.Theme.AppCompat.DialogWhenLarge"
33 parent="Base.Theme.AppCompat.DialogWhenLarge.Base" />
Ying Wang1ee37af2014-07-14 17:26:42 -070034
Dharmesh Mokani66e1d302014-07-25 15:27:41 -070035 <style name="Base.Theme.AppCompat.Light.DialogWhenLarge"
36 parent="Base.Theme.AppCompat.Light.DialogWhenLarge.Base" />
Ying Wang1ee37af2014-07-14 17:26:42 -070037
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 Mokani66e1d302014-07-25 15:27:41 -070045 <style name="Base.Theme.AppCompat.DialogWhenLarge.Base"
Sailesh Nepal1646fd22014-07-30 06:50:53 -070046 parent="Platform.AppCompat.DialogWhenLarge">
Dharmesh Mokani66e1d302014-07-25 15:27:41 -070047 <!-- TODO: Need fixing once Base.Theme.AppCompat themes are done -->
Ying Wang1ee37af2014-07-14 17:26:42 -070048 </style>
49
Dharmesh Mokani66e1d302014-07-25 15:27:41 -070050 <style name="Base.Theme.AppCompat.Light.DialogWhenLarge.Base"
Sailesh Nepal1646fd22014-07-30 06:50:53 -070051 parent="Platform.AppCompat.Light.DialogWhenLarge">
Dharmesh Mokani66e1d302014-07-25 15:27:41 -070052 <!-- TODO: Need fixing once Base.Theme.AppCompat themes are done -->
Ying Wang1ee37af2014-07-14 17:26:42 -070053 </style>
54
55</resources>