themes_base.xml revision 13ab4aa8a1d337c414c887a81b9829f2286cdd37
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    <!--
20        Theme in the "Theme.Platform.AppCompat" family are designed to be aliases for the default
21        theme on a given platform version. They should not set any styleable attributes. Instead
22        you should create a "Theme.Base" theme which inherits from a "Theme.Platform" theme.
23    -->
24    <eat-comment/>
25
26    <style name="Theme.Platform.AppCompat.Light.DarkActionBar"
27           parent="android:Theme.Holo.Light.DarkActionBar" />
28
29    <style name="Theme.Platform.AppCompat.DialogWhenLarge"
30           parent="android:Theme.Holo.DialogWhenLarge" />
31
32    <style name="Theme.Platform.AppCompat.Light.DialogWhenLarge"
33           parent="android:Theme.Holo.Light.DialogWhenLarge" />
34
35    <style name="Base.Theme.AppCompat.DialogWhenLarge"
36           parent="Base.Theme.AppCompat.DialogWhenLarge.Base" />
37
38    <style name="Base.Theme.AppCompat.Light.DialogWhenLarge"
39           parent="Base.Theme.AppCompat.Light.DialogWhenLarge.Base" />
40
41    <!--
42        As we have defined the theme in values-large (for compat) and values-large takes precedence
43        over values-v14, we need to reset back to the Holo parent in values-large-v14. As the themes
44        in values-v14 & values-large-v14 are exactly the same, these "double base" themes can be
45        inherited from in both values-v14 and values-large-v14.
46    -->
47
48    <style name="Base.Theme.AppCompat.DialogWhenLarge.Base"
49           parent="Theme.Platform.AppCompat.DialogWhenLarge">
50        <!-- TODO: Need fixing once Base.Theme.AppCompat themes are done -->
51    </style>
52
53    <style name="Base.Theme.AppCompat.Light.DialogWhenLarge.Base"
54           parent="Theme.Platform.AppCompat.Light.DialogWhenLarge">
55        <!-- TODO: Need fixing once Base.Theme.AppCompat themes are done -->
56    </style>
57
58</resources>
59