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="CitiesTheme" parent="SettingsTheme"> 72 <item name="android:fastScrollThumbDrawable">@drawable/red_fastscroll_thumb</item> 73 </style> 74 75 <style name="SettingsTheme.ActionBar" parent="@android:style/Widget.Holo.ActionBar"> 76 <item name="android:titleTextStyle">@style/SettingsTheme.TextAppearance.ActionBar.Title</item> 77 <item name="android:displayOptions">useLogo|showTitle</item> 78 <item name="android:background">@drawable/ab_hairline</item> 79 80 </style> 81 82 <style name="SettingsTheme.TextAppearance.ActionBar.Title" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"> 83 <item name="android:textSize">@dimen/actionbar_title_font_size</item> 84 <item name="android:textColor">@color/clock_red</item> 85 <item name="android:textStyle">bold</item> 86 <item name="android:textAllCaps">true</item> 87 </style> 88 89 <style name="SetAlarmTheme" parent="android:Theme.Holo.DialogWhenLarge"/> 90 91 <style name="AlarmAlertFullScreenWindowTitle"> 92 <item name="android:maxLines">1</item> 93 <item name="android:scrollHorizontally">true</item> 94 <item name="android:textSize">22sp</item> 95 <item name="android:textColor">@android:color/holo_blue_light</item> 96 </style> 97 98 <!-- NOTE: This must be a fullscreen theme, or else the fullscreen alarm will 99 be unable to turn the screen on. --> 100 <style name="AlarmAlertFullScreenTheme" parent="android:Theme.Holo.Wallpaper.NoTitleBar"> 101 <item name="android:windowTitleStyle">@style/AlarmAlertFullScreenWindowTitle</item> 102 </style> 103 104 <style name="ScreensaverActivityTheme" parent="android:Theme.Holo.Wallpaper.NoTitleBar" /> 105 106 <style name="RoundTouchButton"> 107 <item name="android:gravity">center</item> 108 <item name="android:layout_width">wrap_content</item> 109 <item name="android:layout_height">wrap_content</item> 110 <item name="android:background">@null</item> 111 </style> 112 113 <style name="ButtonStripLeft"> 114 <item name="android:gravity">center</item> 115 <item name="android:layout_width">wrap_content</item> 116 <item name="android:layout_height">wrap_content</item> 117 <item name="android:background">@drawable/btn_strip_trans_left</item> 118 </style> 119 <style name="ButtonStripMiddle"> 120 <item name="android:gravity">center</item> 121 <item name="android:layout_width">wrap_content</item> 122 <item name="android:layout_height">wrap_content</item> 123 <item name="android:background">@drawable/btn_strip_trans_middle</item> 124 </style> 125 <style name="ButtonStripRight"> 126 <item name="android:gravity">center</item> 127 <item name="android:layout_width">wrap_content</item> 128 <item name="android:layout_height">wrap_content</item> 129 <item name="android:background">@drawable/btn_strip_trans_right</item> 130 </style> 131 132 <style name="alarm_list_left_column"> 133 <item name="android:layout_width">68dip</item> 134 <item name="android:layout_height">68dip</item> 135 </style> 136 137 <style name="small_bold"> 138 <item name="android:textSize">@dimen/small_font_size</item> 139 <item name="android:textStyle">bold</item> 140 <item name="android:fontFamily">sans-serif</item> 141 </style> 142 143 <style name="small_thin"> 144 <item name="android:textSize">@dimen/small_font_size</item> 145 <item name="android:fontFamily">sans-serif-thin</item> 146 </style> 147 148 <style name="no_alarms"> 149 <item name="android:textSize">@dimen/no_alarms_font_size</item> 150 <item name="android:textStyle">bold</item> 151 <item name="android:fontFamily">sans-serif-condensed</item> 152 </style> 153 154 <style name="small_light"> 155 <item name="android:textSize">@dimen/small_font_size</item> 156 <item name="android:fontFamily">sans-serif-light</item> 157 </style> 158 159 <style name="timer_setup_digit"> 160 <item name="android:textSize">@dimen/timer_setup_font_size</item> 161 <item name="android:fontFamily">sans-serif-thin</item> 162 </style> 163 164 <style name="timer_setup_label"> 165 <item name="android:textSize">@dimen/timer_setup_label_size</item> 166 <item name="android:textAllCaps">true</item> 167 <item name="android:fontFamily">sans-serif-condensed</item> 168 </style> 169 170 <style name="medium_light"> 171 <item name="android:textSize">@dimen/medium_font_size</item> 172 <item name="android:fontFamily">sans-serif-light</item> 173 </style> 174 175 <style name="widget_medium_thin"> 176 <item name="android:textSize">@dimen/widget_medium_font_size</item> 177 <item name="android:fontFamily">sans-serif-thin</item> 178 </style> 179 180 <style name="label"> 181 <item name="android:textSize">@dimen/label_font_size</item> 182 <item name="android:textStyle">bold</item> 183 <item name="android:textAllCaps">true</item> 184 <item name="android:fontFamily">sans-serif-condensed</item> 185 </style> 186 187 <style name="label_not_caps" parent="label"> 188 <item name="android:textAllCaps">false</item> 189 </style> 190 191 <style name="widget_label" parent="label"> 192 <item name="android:textSize">@dimen/widget_label_font_size</item> 193 </style> 194 195 <style name="header"> 196 <item name="android:textSize">@dimen/header_font_size</item> 197 <item name="android:textAllCaps">true</item> 198 <item name="android:fontFamily">sans-serif-condensed</item> 199 <item name="android:textStyle">bold</item> 200 </style> 201 202 <style name="header_not_caps" parent ="header"> 203 <item name="android:textAllCaps">false</item> 204 </style> 205 206 <style name="big_thin"> 207 <item name="android:textSize">@dimen/big_font_size</item> 208 <item name="android:fontFamily">sans-serif-thin</item> 209 </style> 210 211 <style name="widget_big_thin" parent="big_thin"> 212 <item name="android:textSize">@dimen/widget_big_font_size</item> 213 </style> 214 215 <style name="alarm_label"> 216 <item name="android:textSize">@dimen/alarm_label_size</item> 217 <item name="android:textAllCaps">true</item> 218 <item name="android:fontFamily">sans-serif-condensed</item> 219 </style> 220 221 <style name="alarm_label_not_caps" parent="alarm_label"> 222 <item name="android:textAllCaps">false</item> 223 </style> 224 225 <style name="alarm_label_bold" parent="alarm_label"> 226 <item name="android:textStyle">bold</item> 227 </style> 228 229 <style name="body"> 230 <item name="android:textSize">@dimen/body_font_size</item> 231 <item name="android:textAllCaps">true</item> 232 <item name="android:fontFamily">sans-serif-condensed</item> 233 </style> 234 235 <style name="body_not_caps" parent="body"> 236 <item name="android:textAllCaps">false</item> 237 </style> 238 239 <style name="body_bold"> 240 <item name="android:textSize">@dimen/body_font_size</item> 241 <item name="android:textAllCaps">true</item> 242 <item name="android:textStyle">bold</item> 243 <item name="android:fontFamily">sans-serif-condensed</item> 244 </style> 245 246 <style name="button"> 247 <item name="android:textSize">@dimen/button_font_size</item> 248 <item name="android:textAllCaps">true</item> 249 <item name="android:fontFamily">sans-serif-condensed</item> 250 </style> 251 252 <style name="timer_label"> 253 <item name="android:textSize">@dimen/timer_label_font_size</item> 254 <item name="android:fontFamily">sans-serif-condensed</item> 255 </style> 256 257 <style name="dialog_button"> 258 <item name="android:textSize">@dimen/dialog_button_font_size</item> 259 <item name="android:fontFamily">sans-serif</item> 260 </style> 261 262 <style name="bold_button" parent="button"> 263 <item name="android:textStyle">bold</item> 264 </style> 265 266 <style name="dialpad"> 267 <item name="android:textSize">@dimen/dialpad_font_size</item> 268 <item name="android:textAllCaps">true</item> 269 <item name="android:fontFamily">sans-serif</item> 270 </style> 271 272 <style name="city_name"> 273 <item name="android:textSize">@dimen/city_name_font_size</item> 274 <item name="android:textAllCaps">true</item> 275 <item name="android:fontFamily">sans-serif-condensed</item> 276 <item name="android:textStyle">bold</item> 277 </style> 278 279 <style name="city_time"> 280 <item name="android:textSize">@dimen/city_time_font_size</item> 281 <item name="android:textAllCaps">true</item> 282 <item name="android:fontFamily">sans-serif</item> 283 </style> 284 285 <style name="TimePickerDialog" parent="android:style/Theme.Holo.Dialog"> 286 <item name="android:windowNoTitle">true</item> 287 </style> 288 289 <style name="TextAppearance"> 290 <item name="android:textSize">16sp</item> 291 <item name="android:textStyle">normal</item> 292 </style> 293 294 <!-- Status Bar Styles --> 295 <style name="TextAppearance.StatusBar"> 296 <item name="android:textAppearance">?android:attr/textAppearanceSmall</item> 297 </style> 298 299 <!-- Notification content styles --> 300 <style name="TextAppearance.StatusBar.EventContent"> 301 <item name="android:textSize">@dimen/notification_text_size</item> 302 <item name="android:textColor">#999999</item> 303 </style> 304 <style name="TextAppearance.StatusBar.EventContent.Title"> 305 <item name="android:textColor">#ffffff</item> 306 <item name="android:fontFamily">sans-serif-light</item> 307 <item name="android:textSize">@dimen/notification_title_text_size</item> 308 <item name="android:textStyle">bold</item> 309 </style> 310 <style name="TextAppearance.StatusBar.EventContent.Line2"> 311 <item name="android:textSize">@dimen/notification_subtext_size</item> 312 </style> 313 <style name="TextAppearance.StatusBar.EventContent.Time"> 314 <item name="android:textSize">@dimen/notification_subtext_size</item> 315 <item name="android:textColor">#999999</item> 316 </style> 317 318 <style name="ToastBarStyle"> 319 <item name="android:layout_width">match_parent</item> 320 <item name="android:layout_height">48dip</item> 321 <item name="android:layout_gravity">bottom</item> 322 <item name="android:layout_marginLeft">4dip</item> 323 <item name="android:layout_marginRight">4dip</item> 324 <item name="android:orientation">horizontal</item> 325 <item name="android:gravity">center_vertical</item> 326 <item name="android:background">@drawable/panel_undo_holo</item> 327 <item name="android:visibility">gone</item> 328 <item name="android:alpha">0</item> 329 <item name="android:clickable">true</item> 330 </style> 331 332 </resources> 333