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 xmlns:android="http://schemas.android.com/apk/res/android">
21
22    <style name="MinusButton">
23        <item name="android:background">?android:attr/selectableItemBackground</item>
24        <item name="android:src">@drawable/ic_menu_remove_field_holo_light</item>
25    </style>
26
27    <style name="MonthView_DayLabel">
28        <item name="android:layout_width">29dip</item>
29        <item name="android:layout_height">wrap_content</item>
30        <item name="android:layout_weight">1</item>
31        <item name="android:gravity">right</item>
32        <item name="android:paddingTop">2dip</item>
33        <item name="android:paddingBottom">2dip</item>
34        <item name="android:textAppearance">@style/TextAppearance.MonthView_DayLabel</item>
35    </style>
36
37    <style name="MonthView_MiniMonthLabel">
38        <item name="android:gravity">center</item>
39        <item name="android:paddingTop">2dip</item>
40        <item name="android:paddingBottom">2dip</item>
41        <item name="android:textSize">18sp</item>
42        <item name="android:textStyle">bold</item>
43        <item name="android:textColor">@color/month_mini_day_number</item>
44    </style>
45
46    <style name="TextAppearance" parent="android:TextAppearance">
47    </style>
48
49    <style name="TextAppearance.SelectCalendar_Name">
50        <item name="android:textSize">14sp</item>
51    </style>
52
53    <style name="TextAppearance.MonthView_MiniDayLabel">
54        <item name="android:textSize">12sp</item>
55        <item name="android:textStyle">bold</item>
56        <item name="android:textColor">@color/month_other_month_day_number</item>
57    </style>
58
59    <style name="TextAppearance.MonthView_DayLabel">
60        <item name="android:textSize">@dimen/day_label_text_size</item>
61        <item name="android:paddingLeft">2dip</item>
62        <item name="android:textColor">@color/month_day_names_color</item>
63    </style>
64
65    <style name="TextAppearance.AgendaView_ValueLabel">
66        <item name="android:textSize">14sp</item>
67    </style>
68
69    <style name="TextAppearance.EditEvent_Label">
70        <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
71        <item name="android:minHeight">48dip</item>
72        <item name="android:layout_width">wrap_content</item>
73        <item name="android:layout_marginLeft">16dip</item>
74        <item name="android:layout_marginRight">-16dip</item>
75        <item name="android:paddingLeft">8dip</item>
76        <item name="android:paddingRight">8dip</item>
77        <item name="android:gravity">center_vertical</item>
78        <item name="android:layout_gravity">top|left</item>
79        <item name="android:textSize">18sp</item>
80        <item name="android:textColor">#FFAAAAAA</item>
81    </style>
82
83    <style name="TextAppearance.EditEvent_Button" parent="TextAppearance.EditEvent_Label">
84        <item name="android:textColor">#FF777777</item>
85    </style>
86
87    <style name="TextAppearance.Recurrence_Button" parent="TextAppearance.EditEvent_Label">
88        <item name="android:textColor">#FF000000</item>
89    </style>
90
91    <style name="TextAppearance.EditEvent_LabelSmall" parent="TextAppearance.EditEvent_Small">
92        <item name="android:minHeight">24dip</item>
93        <item name="android:layout_width">144dip</item>
94        <item name="android:layout_marginLeft">16dip</item>
95        <item name="android:layout_marginRight">16dip</item>
96        <item name="android:paddingLeft">8dip</item>
97        <item name="android:paddingRight">8dip</item>
98        <item name="android:layout_marginBottom">-12dip</item>
99    </style>
100
101    <style name="TextAppearance.EditEvent_Small">
102        <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
103        <item name="android:textSize">14sp</item>
104        <item name="android:textColor">#FFAAAAAA</item>
105        <item name="android:textAllCaps">true</item>
106    </style>
107
108    <style name="TextAppearance.EditEvent">
109        <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
110        <item name="android:textSize">18sp</item>
111        <item name="android:textColor">#FF333333</item>
112    </style>
113
114    <style name="TextAppearance.EditEvent_Value" parent="TextAppearance.EditEvent">
115        <item name="android:gravity">center_vertical</item>
116        <item name="android:layout_gravity">center_vertical</item>
117        <item name="android:layout_marginRight">12dip</item>
118        <item name="android:layout_marginLeft">12dip</item>
119    </style>
120
121    <style name="TextAppearance.EditEventCalSpinner">
122        <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
123        <item name="android:textSize">24sp</item>
124        <item name="android:textColor">#FFFFFFFF</item>
125    </style>
126
127    <style name="TextAppearance.EditEvent_CalSpinnerValue" parent="TextAppearance.EditEventCalSpinner">
128        <item name="android:paddingLeft">16dip</item>
129        <item name="android:paddingRight">16dip</item>
130    </style>
131
132    <style name="TextAppearance.EditEvent_Spinner" parent="android:style/Widget.Holo.Light.Spinner">
133        <item name="android:textSize">18sp</item>
134        <item name="android:textColor">#FF333333</item>
135        <item name="android:layout_marginRight">12dp</item>
136        <item name="android:layout_marginLeft">12dp</item>
137    </style>
138
139    <style name="TextAppearance.EditEvent_SpinnerButton" parent="TextAppearance.EditEvent_Spinner">
140        <item name="android:paddingLeft">12dp</item>
141        <item name="android:paddingRight">12dp</item>
142    </style>
143
144    <style name="TextAppearance.EditEvent_homeTime">
145        <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
146        <item name="android:textSize">12sp</item>
147        <item name="android:textColor">@android:color/darker_gray</item>
148        <item name="android:paddingRight">2dip</item>
149        <item name="android:singleLine">true</item>
150    </style>
151
152    <style name="TextAppearance.EventInfo_Label">
153        <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
154        <item name="android:textSize">18sp</item>
155        <item name="android:paddingLeft">16dip</item>
156    </style>
157
158    <style name="EditEvent_Layout" parent="android:Theme.Holo.Light">
159    </style>
160
161    <style name="TextAppearance.Date_Range_Title">
162        <item name="android:textSize">18sp</item>
163        <item name="android:textColor">@color/calendar_date_range_color</item>
164    </style>
165
166    <style name="CalendarTheme" parent="android:Theme.Holo.Light">
167        <item name="android:windowContentOverlay">@null</item>
168    </style>
169
170    <style name="CalendarTheme.WithActionBar" parent="android:Theme.Holo.Light">
171        <item name="android:windowNoTitle">false</item>
172        <item name="android:windowActionBar">true</item>
173        <item name="android:windowBackground">@color/background_color</item>
174        <item name="android:actionBarStyle">@style/CalendarActionBarStyle</item>
175        <item name="android:endYear">2036</item>
176        <item name="android:startYear">1970</item>
177    </style>
178
179    <style name="CalendarActionBarStyle" parent="android:style/Widget.Holo.Light.ActionBar.Solid">
180        <item name="android:displayOptions">showCustom</item>
181    </style>
182
183    <style name="CalendarTheme.WithActionBarWallpaper" parent="CalendarTheme.WithActionBar">
184        <item name="android:windowBackground">@android:color/transparent</item>
185        <item name="android:colorBackgroundCacheHint">@null</item>
186        <item name="android:windowShowWallpaper">true</item>
187    </style>
188
189    <style name="MultiStateButton">
190        <item name="android:focusable">true</item>
191        <item name="android:clickable">true</item>
192        <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
193        <item name="android:gravity">center_vertical|left</item>
194    </style>
195
196    <style name="EditEventSeparator">
197        <item name="android:layout_height">15dip</item>
198        <item name="android:layout_width">match_parent</item>
199        <item name="android:layout_marginTop">10dip</item>
200        <item name="android:layout_marginBottom">5dip</item>
201        <item name="android:background">@color/edit_event_separator</item>
202        <item name="android:visibility">gone</item>
203    </style>
204
205    <style name="EditEventCustomActionButton" parent="android:style/Widget.Holo.Light.ActionButton">
206        <item name="android:layout_height">match_parent</item>
207        <item name="android:layout_width">0dp</item>
208        <item name="android:layout_weight">1</item>
209        <item name="android:focusable">true</item>
210        <item name="android:orientation">horizontal</item>
211    </style>
212
213    <style name="EditEventCustomActionButtonImage">
214        <item name="android:layout_height">wrap_content</item>
215        <item name="android:layout_width">wrap_content</item>
216        <item name="android:padding">4dp</item>
217    </style>
218
219    <style name="EditEventCustomActionButtonText">
220        <item name="android:layout_height">wrap_content</item>
221        <item name="android:layout_width">wrap_content</item>
222        <item name="android:textAppearance">?android:attr/actionMenuTextAppearance</item>
223        <item name="android:textColor">?android:attr/actionMenuTextColor</item>
224        <item name="android:orientation">horizontal</item>
225        <item name="android:singleLine">true</item>
226        <item name="android:ellipsize">none</item>
227        <item name="android:padding">4dp</item>
228    </style>
229
230    <style name="WidgetDayOfWeekStyle">
231        <item name="android:layout_width">wrap_content</item>
232        <item name="android:layout_height">wrap_content</item>
233        <item name="android:layout_marginBottom">-5dip</item>
234        <item name="android:textSize">12sp</item>
235        <item name="android:textAllCaps">true</item>
236
237        <item name="android:textStyle">bold</item>
238        <item name="android:gravity">left</item>
239        <item name="android:singleLine">true</item>
240    </style>
241
242    <style name="WidgetDateStyle">
243        <item name="android:layout_width">wrap_content</item>
244        <item name="android:layout_height">wrap_content</item>
245        <item name="android:textSize">24sp</item>
246        <item name="android:gravity">left</item>
247        <item name="android:layout_marginTop">-4dp</item>
248        <item name="android:singleLine">true</item>
249    </style>
250
251    <style name="NotificationPrimaryText" parent="@android:style/TextAppearance.StatusBar.EventContent.Title" />
252
253    <style name="NotificationSecondaryText" parent="@android:style/TextAppearance.Holo">
254        <item name="android:textColor">?android:attr/textColorSecondary</item>
255    </style>
256
257    <style name="TextAppearance.RecurrencePickerStyle">
258        <item name="android:textSize">15sp</item>
259    </style>
260
261    <style name="TextAppearance.Recurrence_SpinnerButton"
262        parent="android:style/Widget.Holo.Light.Spinner" />
263
264    <style name="RecurrenceDayOfWeekStyle">
265        <item name="android:layout_width">wrap_content</item>
266        <item name="android:layout_height">wrap_content</item>
267        <item name="android:layout_marginTop">4dip</item>
268        <item name="android:layout_marginBottom">4dip</item>
269        <item name="android:layout_marginLeft">8dip</item>
270        <item name="android:layout_marginRight">8dip</item>
271        <item name="android:layout_weight">1</item>
272        <item name="android:textColor">@color/recurrence_bubble_text_color</item>
273        <item name="android:textAllCaps">true</item>
274        <item name="android:textSize">12sp</item>
275        <item name="android:textStyle">bold</item>
276        <item name="android:singleLine">true</item>
277        <item name="android:background">@drawable/recurrence_bubble_fill</item>
278        <item name="android:paddingLeft">4dp</item>
279        <item name="android:paddingRight">4dp</item>
280        <item name="android:paddingTop">4dp</item>
281        <item name="android:paddingBottom">4dp</item>
282        </style>
283</resources>
284