1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2008 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 <style name="clock"> 19 <item name="android:layout_width">match_parent</item> 20 <item name="android:layout_height">match_parent</item> 21 <item name="android:layout_gravity">center_horizontal</item> 22 </style> 23 24 <style name="DeskClock" parent="android:Theme.Holo"> 25 <item name="android:windowActionBarOverlay">true</item> 26 <item name="android:windowBackground">@color/blackish</item> 27 <item name="android:actionBarTabStyle">@style/DeskClockTabStyle</item> 28 <item name="android:actionBarStyle">@style/DeskClockBarStyle</item> 29 <item name="android:actionBarTabBarStyle">@style/DeskClockTabBarStyle</item> 30 <item name="android:dropDownListViewStyle">@style/DeskClockDropDownListView</item> 31 <item name="android:selectableItemBackground">@drawable/item_background</item> 32 </style> 33 <style name="DeskClockTabStyle" parent="@android:style/Theme.Holo"> 34 <item name="android:paddingLeft">@dimen/actionbar_tab_padding</item> 35 <item name="android:paddingRight">@dimen/actionbar_tab_padding</item> 36 <item name="android:background">@drawable/item_background</item> 37 <item name="android:gravity">center</item> 38 </style> 39 <style name="DeskClockTabBarStyle" parent="@android:style/Theme.Holo"> 40 <item name="android:background">@drawable/header_bg</item> 41 <item name="android:showDividers">middle</item> 42 <item name="android:divider">?android:attr/dividerVertical</item> 43 <item name="android:dividerPadding">12dp</item> 44 <item name="android:gravity">center</item> 45 </style> 46 <style name="DeskClockBarStyle" parent="@android:style/Widget.Holo.ActionBar"> 47 <item name="android:background">@drawable/header_bg_bar</item> 48 <item name="android:backgroundStacked">@null</item> 49 <item name="android:backgroundSplit">@null</item> 50 <item name="android:displayOptions"></item> 51 </style> 52 53 <style name="DeskClockDropDownListView" parent="@android:style/Widget.Holo.ListView.DropDown"> 54 <item name="android:listSelector">@drawable/item_background</item> 55 </style> 56 57 <style name="AlarmClockTheme" parent="@android:style/Theme.Holo"> 58 <item name="android:windowBackground">@color/blackish</item> 59 <item name="android:actionBarStyle">@style/SettingsTheme.ActionBar</item> 60 <item name="android:dropDownListViewStyle">@style/DeskClockDropDownListView</item> 61 <item name="android:selectableItemBackground">@drawable/item_background</item> 62 </style> 63 64 <style name="SettingsTheme" parent="android:Theme.Holo"> 65 <item name="android:windowBackground">@color/blackish</item> 66 <item name="android:actionBarStyle">@style/SettingsTheme.ActionBar</item> 67 <item name="android:dropDownListViewStyle">@style/DeskClockDropDownListView</item> 68 <item name="android:selectableItemBackground">@drawable/item_background</item> 69 </style> 70 71 <style name="SettingsTheme.ActionBar" parent="@android:style/Widget.Holo.ActionBar"> 72 <item name="android:titleTextStyle">@style/SettingsTheme.TextAppearance.ActionBar.Title</item> 73 <item name="android:displayOptions">useLogo|showTitle</item> 74 <item name="android:background">@drawable/ab_hairline</item> 75 76 </style> 77 78 <style name="SettingsTheme.TextAppearance.ActionBar.Title" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"> 79 <item name="android:textSize">@dimen/actionbar_title_font_size</item> 80 <item name="android:textColor">@color/clock_red</item> 81 <item name="android:textStyle">bold</item> 82 <item name="android:textAllCaps">true</item> 83 </style> 84 85 <style name="SetAlarmTheme" parent="android:Theme.Holo.DialogWhenLarge"/> 86 87 <style name="AlarmAlertFullScreenWindowTitle"> 88 <item name="android:maxLines">1</item> 89 <item name="android:scrollHorizontally">true</item> 90 <item name="android:textSize">22sp</item> 91 <item name="android:textColor">@android:color/holo_blue_light</item> 92 </style> 93 94 <!-- NOTE: This must be a fullscreen theme, or else the fullscreen alarm will 95 be unable to turn the screen on. --> 96 <style name="AlarmAlertFullScreenTheme" parent="android:Theme.Holo.Wallpaper.NoTitleBar"> 97 <item name="android:windowTitleStyle">@style/AlarmAlertFullScreenWindowTitle</item> 98 </style> 99 100 <style name="ScreensaverActivityTheme" parent="android:Theme.Holo.Wallpaper.NoTitleBar" /> 101 102 <style name="RoundTouchButton"> 103 <item name="android:gravity">center</item> 104 <item name="android:layout_width">wrap_content</item> 105 <item name="android:layout_height">wrap_content</item> 106 <item name="android:background">@null</item> 107 </style> 108 109 <style name="ButtonStripLeft"> 110 <item name="android:gravity">center</item> 111 <item name="android:layout_width">wrap_content</item> 112 <item name="android:layout_height">wrap_content</item> 113 <item name="android:background">@drawable/btn_strip_trans_left</item> 114 </style> 115 <style name="ButtonStripMiddle"> 116 <item name="android:gravity">center</item> 117 <item name="android:layout_width">wrap_content</item> 118 <item name="android:layout_height">wrap_content</item> 119 <item name="android:background">@drawable/btn_strip_trans_middle</item> 120 </style> 121 <style name="ButtonStripRight"> 122 <item name="android:gravity">center</item> 123 <item name="android:layout_width">wrap_content</item> 124 <item name="android:layout_height">wrap_content</item> 125 <item name="android:background">@drawable/btn_strip_trans_right</item> 126 </style> 127 128 <style name="alarm_list_left_column"> 129 <item name="android:layout_width">68dip</item> 130 <item name="android:layout_height">68dip</item> 131 </style> 132 133 <style name="small_bold"> 134 <item name="android:textSize">@dimen/small_font_size</item> 135 <item name="android:textStyle">bold</item> 136 <item name="android:fontFamily">sans-serif</item> 137 </style> 138 139 <style name="medium_bold"> 140 <item name="android:textSize">@dimen/medium_font_size</item> 141 <item name="android:textStyle">bold</item> 142 <item name="android:fontFamily">sans-serif</item> 143 </style> 144 145 <style name="widget_medium_bold" parent="medium_bold"> 146 <item name="android:textSize">@dimen/widget_medium_font_size</item> 147 </style> 148 149 <style name="small_light"> 150 <item name="android:textSize">@dimen/small_font_size</item> 151 <item name="android:fontFamily">sans-serif-light</item> 152 </style> 153 154 <style name="medium_light"> 155 <item name="android:textSize">@dimen/medium_font_size</item> 156 <item name="android:fontFamily">sans-serif-light</item> 157 </style> 158 159 <style name="widget_medium_light" parent="medium_light"> 160 <item name="android:textSize">@dimen/widget_medium_font_size</item> 161 </style> 162 163 <style name="label"> 164 <item name="android:textSize">@dimen/label_font_size</item> 165 <item name="android:textStyle">bold</item> 166 <item name="android:textAllCaps">true</item> 167 <item name="android:fontFamily">sans-serif-condensed</item> 168 </style> 169 170 <style name="label_not_caps" parent="label"> 171 <item name="android:textAllCaps">false</item> 172 </style> 173 174 <style name="header"> 175 <item name="android:textSize">@dimen/header_font_size</item> 176 <item name="android:textAllCaps">true</item> 177 <item name="android:fontFamily">sans-serif-condensed</item> 178 <item name="android:textStyle">bold</item> 179 </style> 180 181 <style name="header_not_caps" parent ="header"> 182 <item name="android:textAllCaps">false</item> 183 </style> 184 185 <style name="big_bold"> 186 <item name="android:textSize">@dimen/big_font_size</item> 187 <item name="android:textStyle">bold</item> 188 <item name="android:fontFamily">sans-serif</item> 189 </style> 190 191 <style name="widget_big_bold" parent="big_bold"> 192 <item name="android:textSize">@dimen/widget_big_font_size</item> 193 </style> 194 195 <style name="big_thin"> 196 <item name="android:textSize">@dimen/big_font_size</item> 197 <item name="android:fontFamily">sans-serif-thin</item> 198 </style> 199 200 <style name="widget_big_thin" parent="big_thin"> 201 <item name="android:textSize">@dimen/widget_big_font_size</item> 202 </style> 203 204 <style name="alarm_label"> 205 <item name="android:textSize">@dimen/alarm_label_size</item> 206 <item name="android:textAllCaps">true</item> 207 <item name="android:fontFamily">sans-serif-condensed</item> 208 </style> 209 210 <style name="alarm_label_not_caps" parent="alarm_label"> 211 <item name="android:textAllCaps">false</item> 212 </style> 213 214 <style name="alarm_label_bold"> 215 <item name="android:textSize">@dimen/alarm_label_size</item> 216 <item name="android:textAllCaps">true</item> 217 <item name="android:textStyle">bold</item> 218 <item name="android:fontFamily">sans-serif-condensed</item> 219 </style> 220 221 <style name="body"> 222 <item name="android:textSize">@dimen/body_font_size</item> 223 <item name="android:textAllCaps">true</item> 224 <item name="android:fontFamily">sans-serif-condensed</item> 225 </style> 226 227 <style name="body_not_caps" parent="body"> 228 <item name="android:textAllCaps">false</item> 229 </style> 230 231 <style name="body_bold"> 232 <item name="android:textSize">@dimen/body_font_size</item> 233 <item name="android:textAllCaps">true</item> 234 <item name="android:textStyle">bold</item> 235 <item name="android:fontFamily">sans-serif-condensed</item> 236 </style> 237 238 <style name="button"> 239 <item name="android:textSize">@dimen/button_font_size</item> 240 <item name="android:textAllCaps">true</item> 241 <item name="android:fontFamily">sans-serif-condensed</item> 242 </style> 243 244 <style name="timer_label"> 245 <item name="android:textSize">@dimen/timer_label_font_size</item> 246 <item name="android:fontFamily">sans-serif-condensed</item> 247 </style> 248 249 <style name="dialog_button"> 250 <item name="android:textSize">@dimen/dialog_button_font_size</item> 251 <item name="android:fontFamily">sans-serif</item> 252 </style> 253 254 <style name="bold_button" parent="button"> 255 <item name="android:textStyle">bold</item> 256 </style> 257 258 <style name="dialpad"> 259 <item name="android:textSize">@dimen/dialpad_font_size</item> 260 <item name="android:textAllCaps">true</item> 261 <item name="android:fontFamily">sans-serif-light</item> 262 </style> 263 264 <style name="dialpad_ampm" parent="dialpad"> 265 <item name="android:textSize">@dimen/dialpad_font_size_ampm</item> 266 </style> 267 268 <style name="city_name"> 269 <item name="android:textSize">@dimen/city_name_font_size</item> 270 <item name="android:textAllCaps">true</item> 271 <item name="android:fontFamily">sans-serif-condensed</item> 272 <item name="android:textStyle">bold</item> 273 </style> 274 275 <style name="city_time"> 276 <item name="android:textSize">@dimen/city_time_font_size</item> 277 <item name="android:textAllCaps">true</item> 278 <item name="android:fontFamily">sans-serif</item> 279 </style> 280 281 <style name="tablet_dialpad"> 282 <item name="android:textSize">@dimen/tablet_dialpad_font_size</item> 283 <item name="android:textAllCaps">true</item> 284 <item name="android:fontFamily">sans-serif-condensed</item> 285 </style> 286 287 <style name="tablet_dialpad_ampm"> 288 <item name="android:textSize">@dimen/tablet_dialpad_font_size_ampm</item> 289 <item name="android:textAllCaps">true</item> 290 <item name="android:fontFamily">sans-serif-condensed</item> 291 </style> 292 293 <style name="TimePickerDialog" parent="android:style/Theme.Holo.Dialog"> 294 <item name="android:windowNoTitle">true</item> 295 </style> 296 297 <style name="TextAppearance"> 298 <item name="android:textSize">16sp</item> 299 <item name="android:textStyle">normal</item> 300 </style> 301 302 <!-- Status Bar Styles --> 303 <style name="TextAppearance.StatusBar"> 304 <item name="android:textAppearance">?android:attr/textAppearanceSmall</item> 305 </style> 306 307 <!-- Notification content styles --> 308 <style name="TextAppearance.StatusBar.EventContent"> 309 <item name="android:textSize">@dimen/notification_text_size</item> 310 <item name="android:textColor">#999999</item> 311 </style> 312 <style name="TextAppearance.StatusBar.EventContent.Title"> 313 <item name="android:textColor">#ffffff</item> 314 <item name="android:fontFamily">sans-serif-light</item> 315 <item name="android:textSize">@dimen/notification_title_text_size</item> 316 <item name="android:textStyle">bold</item> 317 </style> 318 <style name="TextAppearance.StatusBar.EventContent.Line2"> 319 <item name="android:textSize">@dimen/notification_subtext_size</item> 320 </style> 321 <style name="TextAppearance.StatusBar.EventContent.Time"> 322 <item name="android:textSize">@dimen/notification_subtext_size</item> 323 <item name="android:textColor">#999999</item> 324 </style> 325 326 <style name="ToastBarStyle"> 327 <item name="android:layout_width">match_parent</item> 328 <item name="android:layout_height">48dip</item> 329 <item name="android:layout_gravity">bottom</item> 330 <item name="android:layout_marginLeft">4dip</item> 331 <item name="android:layout_marginRight">4dip</item> 332 <item name="android:orientation">horizontal</item> 333 <item name="android:gravity">center_vertical</item> 334 <item name="android:background">@drawable/panel_undo_holo</item> 335 <item name="android:visibility">gone</item> 336 <item name="android:alpha">0</item> 337 <item name="android:clickable">true</item> 338 </style> 339 340 </resources> 341