1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2015 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 xmlns:tools="http://schemas.android.com/tools"> 18 19 <style name="clock"> 20 <item name="android:layout_width">match_parent</item> 21 <item name="android:layout_height">match_parent</item> 22 <item name="android:layout_gravity">center_horizontal</item> 23 </style> 24 25 <style name="BaseActivityTheme" parent="Theme.AppCompat"> 26 <item name="android:windowBackground">@color/default_background</item> 27 28 <item name="alertDialogTheme">@style/AlertDialogTheme</item> 29 <item name="imageButtonStyle">@style/ImageButtonStyle</item> 30 <item name="colorAccent">@color/color_accent</item> 31 <item name="colorPrimaryDark">@color/status_bar</item> 32 <item name="colorControlActivated">@color/white</item> 33 <item name="colorControlNormal">@color/white</item> 34 </style> 35 36 <style name="TranslucentDecorActivityTheme" parent="BaseActivityTheme"> 37 <item name="android:windowContentOverlay">@null</item> 38 <item name="android:windowTranslucentStatus">true</item> 39 <item name="android:windowTranslucentNavigation">true</item> 40 41 <!-- Attributes from support.v7.appcompat --> 42 <item name="windowActionBar">false</item> 43 <item name="windowNoTitle">true</item> 44 </style> 45 46 <style name="AlertDialogTheme" parent="Theme.AppCompat.Dialog.Alert"> 47 <!-- Attributes from support.v7.appcompat --> 48 <item name="colorAccent">@color/color_accent</item> 49 </style> 50 51 <style name="ControlAccentThemeOverlay"> 52 <!-- Attributes from support.v7.appcompat --> 53 <item name="colorControlActivated">?attr/colorAccent</item> 54 </style> 55 56 <style name="TimeLabelTextAppearance" parent="TextAppearance.AppCompat"> 57 <item name="android:textColor">@color/white</item> 58 <item name="android:textSize" tools:ignore="SpUsage">60dp</item> 59 </style> 60 61 <style name="AmPmTextAppearance" parent="TextAppearance.AppCompat"> 62 <item name="android:textColor">@color/white</item> 63 <item name="android:textSize">16sp</item> 64 </style> 65 66 <style name="DeskClockTabBaseStyle" parent="Widget.AppCompat.ActionBar.TabView"> 67 <item name="android:paddingLeft">@dimen/actionbar_tab_padding</item> 68 <item name="android:paddingRight">@dimen/actionbar_tab_padding</item> 69 <item name="android:gravity">center</item> 70 </style> 71 72 <style name="SettingsTheme" parent="TranslucentDecorActivityTheme"> 73 <item name="android:detailsElementBackground">@null</item> 74 <!-- Attributes from support.v7.appcompat --> 75 <item name="actionBarStyle">@style/SettingsActionBarStyle</item> 76 <item name="windowActionBar">true</item> 77 <item name="windowNoTitle">false</item> 78 </style> 79 80 <style name="SettingsActionBarStyle" parent="@style/Widget.AppCompat.Toolbar"> 81 <item name="android:background">@null</item> 82 83 <!-- Attributes from support.v7.appcompat --> 84 <item name="displayOptions">showTitle|homeAsUp</item> 85 </style> 86 87 <style name="CitiesTheme" parent="TranslucentDecorActivityTheme"> 88 <item name="android:fastScrollPreviewBackgroundLeft">@drawable/fastscroll_preview</item> 89 <item name="android:fastScrollPreviewBackgroundRight">@drawable/fastscroll_preview</item> 90 <item name="android:fastScrollTextColor">@color/white</item> 91 <item name="android:fastScrollThumbDrawable">@drawable/fastscroll_thumb</item> 92 <item name="android:fastScrollTrackDrawable">@drawable/fastscroll_track</item> 93 <!-- Attributes from support.v7.appcompat --> 94 <item name="windowActionBar">true</item> 95 <item name="windowNoTitle">false</item> 96 <item name="actionBarStyle">@style/CitiesActionBarStyle</item> 97 </style> 98 99 <style name="CitiesActionBarStyle" parent="Widget.AppCompat.ActionBar"> 100 <item name="android:background">@null</item> 101 102 <!-- Attributes from support.v7.appcompat --> 103 <item name="displayOptions">homeAsUp</item> 104 </style> 105 106 <style name="AlarmAlertFullScreenTheme" parent="TranslucentDecorActivityTheme" /> 107 108 <style name="DeskClockTheme" parent="@style/TranslucentDecorActivityTheme" /> 109 110 <style name="ExpiredTimersActivityTheme" parent="TranslucentDecorActivityTheme" /> 111 112 <style name="ScreensaverActivityTheme" parent="Theme.AppCompat.NoActionBar" /> 113 114 <style name="ImageButtonStyle" parent="Widget.AppCompat.ImageButton"> 115 <item name="android:background">?attr/selectableItemBackgroundBorderless</item> 116 </style> 117 118 <style name="RoundTouchButton"> 119 <item name="android:gravity">center</item> 120 <item name="android:layout_width">wrap_content</item> 121 <item name="android:layout_height">wrap_content</item> 122 <item name="android:background">@null</item> 123 </style> 124 125 <style name="alarm_list_left_column"> 126 <item name="android:layout_width">68dip</item> 127 <item name="android:layout_height">68dip</item> 128 </style> 129 130 <style name="small_bold"> 131 <item name="android:textSize">@dimen/small_font_size</item> 132 <item name="android:textStyle">bold</item> 133 </style> 134 135 <style name="small_thin"> 136 <item name="android:textSize">@dimen/small_font_size</item> 137 <item name="android:fontFamily">sans-serif-thin</item> 138 </style> 139 140 <style name="no_alarms"> 141 <item name="android:textSize">@dimen/no_alarm_font_size</item> 142 <item name="android:textColor">@color/white_69p</item> 143 </style> 144 145 <style name="small_light"> 146 <item name="android:textSize">@dimen/small_font_size</item> 147 <item name="android:fontFamily">sans-serif-light</item> 148 </style> 149 150 <style name="timer_setup_digit"> 151 <item name="android:textSize">@dimen/timer_setup_font_size</item> 152 <item name="android:fontFamily">sans-serif-thin</item> 153 </style> 154 155 <style name="timer_setup_label"> 156 <item name="android:textSize">@dimen/timer_setup_label_size</item> 157 </style> 158 159 <style name="medium_light"> 160 <item name="android:textSize">@dimen/medium_font_size</item> 161 <item name="android:fontFamily">sans-serif-thin</item> 162 </style> 163 164 <style name="widget_medium_thin"> 165 <item name="android:textSize">@dimen/widget_medium_font_size</item> 166 <item name="android:fontFamily">sans-serif-thin</item> 167 <item name="android:shadowRadius">@dimen/digital_widget_shadow_radius</item> 168 <item name="android:shadowColor">@color/digital_widget_shadow_color</item> 169 <item name="android:shadowDy">@dimen/digital_widget_shadow_dy</item> 170 </style> 171 172 <style name="label"> 173 <item name="android:textSize">@dimen/label_font_size</item> 174 </style> 175 176 <style name="label_not_caps" parent="label"> 177 <item name="android:textAllCaps">false</item> 178 </style> 179 180 <style name="widget_label" parent="label"> 181 <item name="android:textSize">@dimen/widget_label_font_size</item> 182 <item name="android:shadowRadius">@dimen/digital_widget_shadow_radius</item> 183 <item name="android:shadowColor">@color/digital_widget_shadow_color</item> 184 <item name="android:shadowDy">@dimen/digital_widget_shadow_dy</item> 185 </style> 186 187 <style name="header"> 188 <item name="android:textSize">@dimen/header_font_size</item> 189 <item name="android:textStyle">bold</item> 190 </style> 191 192 <style name="header_not_caps" parent ="header"> 193 <item name="android:textAllCaps">false</item> 194 </style> 195 196 <style name="big_thin"> 197 <item name="android:textSize">@dimen/big_font_size</item> 198 <item name="android:fontFamily">sans-serif-thin</item> 199 </style> 200 201 <style name="alarm_lockscreen_thin"> 202 <item name="android:textSize">@dimen/alarm_info_font_size</item> 203 <item name="android:fontFamily">sans-serif-thin</item> 204 </style> 205 206 <style name="widget_big_thin" parent="big_thin"> 207 <item name="android:textSize">@dimen/widget_big_font_size</item> 208 <item name="android:shadowRadius">@dimen/digital_widget_shadow_radius</item> 209 <item name="android:shadowColor">@color/digital_widget_shadow_color</item> 210 <item name="android:shadowDy">@dimen/digital_widget_shadow_dy</item> 211 </style> 212 213 <style name="alarm_label"> 214 <item name="android:textSize">@dimen/alarm_label_size</item> 215 </style> 216 217 <style name="alarm_label_not_caps" parent="alarm_label"> 218 <item name="android:textAllCaps">false</item> 219 </style> 220 221 <style name="alarm_label_bold" parent="alarm_label"> 222 <item name="android:textStyle">bold</item> 223 </style> 224 225 <style name="body"> 226 <item name="android:textSize">@dimen/body_font_size</item> 227 </style> 228 229 <style name="undo_toast" parent="body"> 230 <item name="android:textAllCaps">true</item> 231 <item name="android:textColor">@color/color_accent</item> 232 </style> 233 234 <style name="body_not_caps" parent="body"> 235 <item name="android:textAllCaps">false</item> 236 </style> 237 238 <style name="body_bold"> 239 <item name="android:textSize">@dimen/body_font_size</item> 240 <item name="android:textStyle">bold</item> 241 </style> 242 243 <style name="labelEditTextStyle"> 244 <item name="android:textCursorDrawable">@null</item> 245 <item name="android:inputType">textCapSentences</item> 246 <item name="android:selectAllOnFocus">true</item> 247 </style> 248 249 <style name="dialpad"> 250 <item name="android:textSize">@dimen/dialpad_font_size</item> 251 <item name="android:fontFamily">sans-serif-thin</item> 252 </style> 253 254 <style name="PrimaryLabelTextParentAppearance"> 255 <item name="android:textColor">@color/white</item> 256 <item name="android:textSize">@dimen/label_text_size</item> 257 </style> 258 259 <style name="PrimaryLabelTextAppearance" parent="PrimaryLabelTextParentAppearance" /> 260 261 <style name="SecondaryLabelTextParentAppearance"> 262 <item name="android:textColor">@color/white_69p</item> 263 <item name="android:textSize">@dimen/label_text_size</item> 264 </style> 265 266 <style name="SecondaryLabelTextAppearance" parent="SecondaryLabelTextParentAppearance" /> 267 268 <style name="TextAppearance"> 269 <item name="android:textSize">16sp</item> 270 <item name="android:textStyle">normal</item> 271 </style> 272 273 <!-- Status Bar Styles --> 274 <style name="TextAppearance.StatusBar"> 275 <item name="android:textAppearance">?android:attr/textAppearanceSmall</item> 276 </style> 277 278 <!-- Notification content styles --> 279 <style name="TextAppearance.StatusBar.EventContent"> 280 <item name="android:textSize">@dimen/notification_text_size</item> 281 <item name="android:textColor">@color/notif_text_grey</item> 282 </style> 283 284 <style name="TextAppearance.StatusBar.EventContent.Title"> 285 <item name="android:textSize">@dimen/notification_title_text_size</item> 286 <item name="android:textColor">@color/white</item> 287 </style> 288 289 </resources> 290