checkey / libs / appcompat / res / values-v11 / themes_base.xml @ 44e720f7
History | View | Annotate | Download (4.56 KB)
1 |
<?xml version="1.0" encoding="utf-8"?>
|
---|---|
2 |
<!-- Copyright (C) 2013 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 |
<!-- Themes in the "Theme.Base" family vary based on the current platform
|
20 |
version to provide the correct basis on each device. You probably don't
|
21 |
want to use them directly in your apps.
|
22 |
|
23 |
Themes in the "Theme.AppCompat" family are meant to be extended or used
|
24 |
directly by apps.
|
25 |
|
26 |
This is the values-v11/ file that only declares the Base themes for
|
27 |
Honeycomb+. You probably want to edit values/themes.xml instead. -->
|
28 |
<eat-comment/> |
29 |
|
30 |
<!-- Base platform-dependent theme -->
|
31 |
<style name="Theme.Base" parent="android:Theme.Holo"> |
32 |
<item name="android:windowNoTitle">true</item> |
33 |
<item name="android:windowActionBar">false</item> |
34 |
|
35 |
<!--
|
36 |
A native Action Mode could be displayed (for text selection, etc) so we need to ensure
|
37 |
that it is positioned correctly, so we request windowActionModeOverlay so that it
|
38 |
displays over the compat Action Bar.
|
39 |
-->
|
40 |
<item name="android:windowActionModeOverlay">true</item> |
41 |
|
42 |
<!-- Attributes populated from the framework to be read by apps -->
|
43 |
<item name="buttonBarStyle">?android:attr/buttonBarStyle</item> |
44 |
<item name="buttonBarButtonStyle">?android:attr/buttonBarButtonStyle</item> |
45 |
<item name="selectableItemBackground">?android:attr/selectableItemBackground</item> |
46 |
</style>
|
47 |
|
48 |
<!-- Base platform-dependent theme providing a light-themed activity. -->
|
49 |
<style name="Theme.Base.Light" parent="android:Theme.Holo.Light"> |
50 |
<item name="android:windowNoTitle">true</item> |
51 |
<item name="android:windowActionBar">false</item> |
52 |
|
53 |
<!--
|
54 |
A native Action Mode could be displayed (for text selection, etc) so we need to ensure
|
55 |
that it is positioned correctly, so we request windowActionModeOverlay so that it
|
56 |
displays over the compat Action Bar.
|
57 |
-->
|
58 |
<item name="android:windowActionModeOverlay">true</item> |
59 |
|
60 |
<!-- Attributes populated from the framework to be read by apps -->
|
61 |
<item name="buttonBarStyle">?android:attr/buttonBarStyle</item> |
62 |
<item name="buttonBarButtonStyle">?android:attr/buttonBarButtonStyle</item> |
63 |
<item name="selectableItemBackground">?android:attr/selectableItemBackground</item> |
64 |
</style>
|
65 |
|
66 |
<style name="Theme.Base.AppCompat.Dialog.FixedSize" parent="android:Theme.Holo.Dialog"> |
67 |
<item name="windowFixedWidthMajor">@dimen/dialog_fixed_width_major</item> |
68 |
<item name="windowFixedWidthMinor">@dimen/dialog_fixed_width_minor</item> |
69 |
<item name="windowFixedHeightMajor">@dimen/dialog_fixed_height_major</item> |
70 |
<item name="windowFixedHeightMinor">@dimen/dialog_fixed_height_minor</item> |
71 |
<item name="windowActionBar">false</item> |
72 |
|
73 |
<!-- Attributes populated from the framework to be read by apps -->
|
74 |
<item name="buttonBarStyle">?android:attr/buttonBarStyle</item> |
75 |
<item name="buttonBarButtonStyle">?android:attr/buttonBarButtonStyle</item> |
76 |
<item name="selectableItemBackground">?android:attr/selectableItemBackground</item> |
77 |
</style>
|
78 |
|
79 |
<style name="Theme.Base.AppCompat.Dialog.Light.FixedSize" |
80 |
parent="android:Theme.Holo.Light.Dialog"> |
81 |
<item name="windowFixedWidthMajor">@dimen/dialog_fixed_width_major</item> |
82 |
<item name="windowFixedWidthMinor">@dimen/dialog_fixed_width_minor</item> |
83 |
<item name="windowFixedHeightMajor">@dimen/dialog_fixed_height_major</item> |
84 |
<item name="windowFixedHeightMinor">@dimen/dialog_fixed_height_minor</item> |
85 |
<item name="windowActionBar">false</item> |
86 |
|
87 |
<!-- Attributes populated from the framework to be read by apps -->
|
88 |
<item name="buttonBarStyle">?android:attr/buttonBarStyle</item> |
89 |
<item name="buttonBarButtonStyle">?android:attr/buttonBarButtonStyle</item> |
90 |
<item name="selectableItemBackground">?android:attr/selectableItemBackground</item> |
91 |
</style>
|
92 |
|
93 |
</resources>
|