OSDN Git Service

am e726495a: am fe5e7e92: Merge "docs: Fix issue with onCreate() method declaration...
[android-x86/frameworks-base.git] / core / res / res / values / themes_micro.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (C) 2014 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 <resources>
17     <style name="Theme.Micro" parent="Theme.Holo.NoActionBar">
18         <item name="alertDialogTheme">@style/Theme.Micro.Dialog.Alert</item>
19         <item name="alertDialogStyle">@style/AlertDialog.Micro</item>
20         <item name="dialogTheme">@style/Theme.Micro.Dialog</item>
21         <item name="textViewStyle">@style/Widget.Micro.TextView</item>
22         <item name="numberPickerStyle">@style/Widget.Micro.NumberPicker</item>
23         <item name="windowAnimationStyle">@style/Animation.Micro.Activity</item>
24         <item name="windowBackground">@color/black</item>
25         <item name="windowContentOverlay">@null</item>
26         <item name="windowIsFloating">false</item>
27         <!-- We need the windows to be translucent for SwipeToDismiss layout
28              to work properly. -->
29         <item name="windowIsTranslucent">true</item>
30         <item name="windowSwipeToDismiss">true</item>
31         <!-- Required to force windowInsets dispatch through application UI. -->
32         <item name="windowOverscan">true</item>
33     </style>
34
35     <style name="Theme.Micro.Light" parent="Theme.Holo.Light.NoActionBar">
36         <item name="alertDialogTheme">@style/Theme.Micro.Dialog.Alert</item>
37         <item name="alertDialogStyle">@style/AlertDialog.Micro</item>
38         <item name="dialogTheme">@style/Theme.Micro.Dialog</item>
39         <item name="textViewStyle">@style/Widget.Micro.TextView</item>
40         <item name="numberPickerStyle">@style/Widget.Micro.NumberPicker</item>
41         <item name="windowAnimationStyle">@style/Animation.Micro.Activity</item>
42         <item name="windowBackground">@color/white</item>
43         <item name="windowContentOverlay">@null</item>
44         <item name="windowIsFloating">false</item>
45         <!-- We need the windows to be translucent for SwipeToDismiss layout
46              to work properly. -->
47         <item name="windowIsTranslucent">true</item>
48         <item name="windowSwipeToDismiss">true</item>
49         <!-- Required to force windowInsets dispatch through application UI. -->
50         <item name="windowOverscan">true</item>
51     </style>
52
53     <style name="Theme.Micro.Dialog" parent="Theme.Holo.Light.Dialog">
54         <item name="windowTitleStyle">@android:style/DialogWindowTitle.Micro</item>
55         <item name="windowIsFloating">false</item>
56         <item name="windowFullscreen">true</item>
57         <item name="textAppearance">@style/TextAppearance.Micro</item>
58         <item name="textAppearanceInverse">@style/TextAppearance.Micro</item>
59         <!-- Required to force windowInsets dispatch through application UI. -->
60         <item name="windowOverscan">true</item>
61     </style>
62
63     <style name="Theme.Micro.Dialog.Alert">
64         <item name="windowTitleStyle">@style/DialogWindowTitle.Micro</item>
65         <item name="alertDialogStyle">@style/AlertDialog.Micro</item>
66         <item name="windowIsFloating">false</item>
67         <item name="windowBackground">@android:color/transparent</item>
68         <item name="windowOverscan">true</item>
69         <item name="windowContentOverlay">@null</item>
70         <item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
71         <item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
72     </style>
73
74     <style name="Theme.Micro.Dialog.AppError" parent="Theme.Micro.Dialog">
75         <item name="windowBackground">@null</item>
76         <item name="alertDialogStyle">@style/AlertDialog.Micro</item>
77         <item name="windowOverscan">true</item>
78         <item name="windowCloseOnTouchOutside">false</item>
79         <item name="textSize">20sp</item>
80         <item name="fontFamily">sans-serif-condensed-light</item>
81         <item name="textColor">@color/micro_text_light</item>
82     </style>
83 </resources>