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> 18 19 <style name="SettingsTheme" parent="TranslucentDecorActivityTheme"> 20 <item name="android:alertDialogTheme">@style/SettingsAlertDialogTheme</item> 21 <item name="android:detailsElementBackground">@null</item> 22 23 <!-- Attributes from support.v7.appcompat --> 24 <item name="actionBarStyle">@style/SettingsActionBarStyle</item> 25 <item name="colorControlActivated">?attr/colorAccent</item> 26 <item name="windowActionBar">true</item> 27 <item name="windowNoTitle">false</item> 28 </style> 29 30 <!-- Theme that will be used by PreferenceFragment (i.e. *not* AppCompat). --> 31 <style name="SettingsAlertDialogTheme" parent="android:Theme.Material.Dialog.Alert"> 32 <item name="android:colorAccent">?attr/colorAccent</item> 33 </style> 34 35 <!-- Custom notification content styles --> 36 <!-- copied TextAppearance.Material.Button --> 37 <style name="TextAppearance.StatusBar.EventContent.Action"> 38 <item name="android:textSize">14sp</item> 39 <item name="android:fontFamily">sans-serif-medium</item> 40 <item name="android:textAllCaps">true</item> 41 <item name="android:textColor">@color/black_54p</item> 42 </style> 43 44 <style name="TextAppearance.StatusBar.EventContent"> 45 <item name="android:textSize">14sp</item> 46 <item name="android:textColor">@color/black_54p</item> 47 </style> 48 <style name="TextAppearance.StatusBar.EventContent.Title"> 49 <item name="android:textSize">16sp</item> 50 <item name="android:textColor">@color/black_87p</item> 51 </style> 52 53 <style name="TimePickerTheme" parent="Theme.AppCompat.Dialog"> 54 <item name="android:background">@color/time_picker_gray</item> 55 <item name="android:timePickerStyle">@style/TimePickerStyle</item> 56 <item name="android:textColorPrimaryInverse">?attr/colorAccent</item> 57 58 <!-- Attributes from support.v7.appcompat --> 59 <item name="colorAccent">@color/color_accent</item> 60 </style> 61 62 <style name="TimePickerStyle" parent="@android:style/Widget.Material.TimePicker" > 63 <item name="android:headerBackground">@color/time_picker_gray</item> 64 <item name="android:headerTimeTextAppearance">@style/TimeLabelTextAppearance</item> 65 <item name="android:headerAmPmTextAppearance">@style/AmPmTextAppearance</item> 66 <item name="android:numbersBackgroundColor">@color/time_picker_gray</item> 67 <item name="android:numbersTextColor">@color/white</item> 68 <item name="android:amPmTextColor">@color/white</item> 69 </style> 70 71 <style name="PrimaryLabelTextAppearance" parent="@style/PrimaryLabelTextParentAppearance"> 72 <item name="android:fontFamily">sans-serif-medium</item> 73 </style> 74 75 <style name="SecondaryLabelTextAppearance" parent="@style/SecondaryLabelTextParentAppearance"> 76 <item name="android:fontFamily">sans-serif-medium</item> 77 </style> 78 79 <style name="CitiesTheme" parent="TranslucentDecorActivityTheme"> 80 <item name="android:fastScrollThumbDrawable">@drawable/fastscroll_thumb</item> 81 <item name="android:fastScrollTrackDrawable">@drawable/fastscroll_track</item> 82 <item name="actionBarStyle">@style/CitiesActionBarStyle</item> 83 <item name="windowActionBar">true</item> 84 <item name="windowNoTitle">false</item> 85 </style> 86 87 </resources> 88