styles.xml revision 177832bde546561575e6f10afd5e575d63f0aec4
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/Calendar/assets/res/any/styles.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<resources>
21
22    <style name="Alert" parent="android:Theme.Dialog">
23        <item name="android:windowBackground">@null</item>
24    </style>
25
26    <style name="MinusButton">
27        <item name="android:background">?android:attr/selectableItemBackground</item>
28        <item name="android:src">@drawable/ic_menu_remove_field_holo_light</item>
29    </style>
30
31    <style name="PlusButton">
32        <item name="android:background">?android:attr/selectableItemBackground</item>
33        <item name="android:src">@drawable/ic_menu_add_field_holo_light</item>
34    </style>
35
36    <style name="MonthView_DayLabel">
37        <item name="android:layout_width">29dip</item>
38        <item name="android:layout_height">wrap_content</item>
39        <item name="android:layout_weight">1</item>
40        <item name="android:gravity">center</item>
41        <item name="android:paddingTop">2dip</item>
42        <item name="android:paddingBottom">2dip</item>
43        <item name="android:textAppearance">@style/TextAppearance.MonthView_DayLabel</item>
44    </style>
45
46    <style name="MonthView_MiniMonthLabel">
47        <item name="android:gravity">center</item>
48        <item name="android:paddingTop">2dip</item>
49        <item name="android:paddingBottom">2dip</item>
50        <item name="android:textSize">14sp</item>
51        <item name="android:textStyle">bold</item>
52        <item name="android:textColor">@color/month_mini_day_number</item>
53    </style>
54
55    <style name="TextAppearance" parent="android:TextAppearance">
56    </style>
57
58    <style name="TextAppearance.SelectCalendar_Name">
59        <item name="android:textSize">14sp</item>
60    </style>
61
62    <style name="TextAppearance.MonthView_MiniDayLabel">
63        <item name="android:textSize">12sp</item>
64        <item name="android:textStyle">bold</item>
65        <item name="android:textColor">@color/month_other_month_day_number</item>
66    </style>
67
68    <style name="TextAppearance.MonthView_DayLabel">
69        <item name="android:textSize">14sp</item>
70        <item name="android:paddingLeft">2dip</item>
71        <item name="android:textColor">@color/month_day_names_color</item>
72    </style>
73
74    <style name="TextAppearance.AgendaView_ValueLabel">
75        <item name="android:textSize">14sp</item>
76    </style>
77
78    <style name="TextAppearance.EditEvent_Label">
79        <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
80        <item name="android:gravity">top|left</item>
81        <item name="android:minHeight">48dip</item>
82        <item name="android:layout_width">144dip</item>
83        <item name="android:paddingLeft">16dip</item>
84        <item name="android:paddingRight">16dip</item>
85        <item name="android:paddingTop">12dip</item>
86        <item name="android:textSize">18sp</item>
87        <item name="android:textColor">#FF888888</item>
88    </style>
89
90    <style name="TextAppearance.EditEvent">
91        <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
92        <item name="android:textSize">18sp</item>
93        <item name="android:gravity">top|left</item>
94        <item name="android:textColor">#FF000000</item>
95    </style>
96
97    <style name="TextAppearance.EditEvent_Value" parent="TextAppearance.EditEvent">
98        <item name="android:paddingLeft">16dip</item>
99        <item name="android:paddingRight">16dip</item>
100        <item name="android:paddingTop">12dip</item>
101    </style>
102
103    <style name="TextAppearance.EditEvent_Spinner" parent="android:style/Widget.Holo.Light.Spinner">
104        <item name="android:textSize">18sp</item>
105        <item name="android:gravity">top|left</item>
106        <item name="android:textColor">#FF000000</item>
107        <item name="android:paddingLeft">16dip</item>
108        <item name="android:paddingRight">16dip</item>
109        <item name="android:paddingTop">12dip</item>
110    </style>
111
112    <style name="TextAppearance.EditEvent_homeTime">
113        <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
114        <item name="android:textSize">12sp</item>
115        <item name="android:textColor">@android:color/darker_gray</item>
116        <item name="android:paddingRight">2dip</item>
117        <item name="android:singleLine">true</item>
118    </style>
119
120    <style name="TextAppearance.EventInfo_Label">
121        <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
122        <item name="android:textSize">18sp</item>
123        <item name="android:textStyle">bold</item>
124        <item name="android:paddingLeft">2dip</item>
125    </style>
126
127    <style name="EditEvent_Layout" parent="android:Theme.Holo.Light">
128        <item name="android:paddingLeft">6dip</item>
129        <item name="android:paddingRight">7dip</item>
130        <item name="android:paddingTop">8dip</item>
131    </style>
132
133    <style name="TextAppearance.Date_Range_Title">
134        <item name="android:textSize">18sp</item>
135        <item name="android:textColor">@color/calendar_date_range_color</item>
136    </style>
137
138    <style name="CalendarTheme" parent="android:Theme.Holo.Light">
139        <item name="android:windowContentOverlay">@null</item>
140    </style>
141
142    <style name="CalendarTheme.WithActionBar" parent="android:Theme.Holo.Light">
143        <item name="android:windowNoTitle">false</item>
144        <item name="android:windowActionBar">true</item>
145        <item name="android:windowBackground">@drawable/calendar_background_holo_light</item>
146        <item name="android:endYear">2036</item>
147        <item name="android:startYear">1970</item>
148    </style>
149
150    <style name="CalendarTheme.WithActionBarWallpaper" parent="CalendarTheme.WithActionBar">
151        <item name="android:windowBackground">@android:color/transparent</item>
152        <item name="android:colorBackgroundCacheHint">@null</item>
153        <item name="android:windowShowWallpaper">true</item>
154    </style>
155
156    <style name="MultiStateButton">
157        <item name="android:focusable">true</item>
158        <item name="android:clickable">true</item>
159        <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
160        <item name="android:gravity">center_vertical|left</item>
161    </style>
162
163    <style name="WidgetDayOfWeekStyle">
164        <item name="android:layout_width">wrap_content</item>
165        <item name="android:layout_height">wrap_content</item>
166        <item name="android:layout_marginBottom">-5dip</item>
167        <item name="android:textSize">14sp</item>
168        <item name="android:textStyle">bold</item>
169        <item name="android:gravity">left</item>
170        <item name="android:singleLine">true</item>
171    </style>
172
173    <style name="WidgetDayStyle">
174        <item name="android:layout_width">wrap_content</item>
175        <item name="android:layout_height">wrap_content</item>
176        <item name="android:layout_gravity">center_vertical|left</item>
177        <item name="android:gravity">center_vertical|left</item>
178        <item name="android:layout_marginTop">-9dip</item>
179        <item name="android:textSize">46sp</item>
180        <item name="android:singleLine">true</item>
181    </style>
182
183    <style name="WidgetMonthStyle">
184        <item name="android:layout_width">wrap_content</item>
185        <item name="android:layout_height">wrap_content</item>
186        <item name="android:textSize">14sp</item>
187        <item name="android:gravity">left</item>
188        <item name="android:singleLine">true</item>
189    </style>
190</resources>
191