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