1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3** 4** Copyright 2012, The Android Open Source Project 5** 6** Licensed under the Apache License, Version 2.0 (the "License") 7** you may not use this file except in compliance with the License. 8** You may obtain a copy of the License at 9** 10** http://www.apache.org/licenses/LICENSE-2.0 11** 12** Unless required by applicable law or agreed to in writing, software 13** distributed under the License is distributed on an "AS IS" BASIS, 14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15** See the License for the specific language governing permissions and 16** limitations under the License. 17*/ 18--> 19 20<resources xmlns:android="http://schemas.android.com/apk/res/android" 21 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"> 22 <!-- Keyguard PIN pad styles --> 23 <style name="Keyguard.TextView" parent="@android:style/Widget.DeviceDefault.TextView"> 24 <item name="android:textSize">@dimen/kg_status_line_font_size</item> 25 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 26 <item name="android:textColor">?androidprv:attr/materialColorOnSurface</item> 27 </style> 28 <style name="Keyguard.Bouncer.PrimaryMessage" parent="Theme.SystemUI"> 29 <item name="android:textSize">18sp</item> 30 <item name="android:lineHeight">24dp</item> 31 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 32 <item name="android:textColor">?androidprv:attr/materialColorOnSurface</item> 33 <item name="android:singleLine">true</item> 34 <item name="android:textAlignment">center</item> 35 <item name="android:ellipsize">marquee</item> 36 </style> 37 <style name="Keyguard.Bouncer.SecondaryMessage" parent="Theme.SystemUI"> 38 <item name="android:textSize">14sp</item> 39 <item name="android:maxLines">@integer/bouncer_secondary_message_lines</item> 40 <item name="android:lines">@integer/bouncer_secondary_message_lines</item> 41 <item name="android:textAlignment">center</item> 42 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 43 <item name="android:ellipsize">end</item> 44 <item name="android:textColor">?androidprv:attr/materialColorOnSurfaceVariant</item> 45 </style> 46 <style name="Keyguard.TextView.EmergencyButton" parent="Theme.SystemUI"> 47 <item name="android:textColor">?androidprv:attr/materialColorOnTertiaryFixed</item> 48 <item name="android:textSize">16sp</item> 49 <item name="android:background">@drawable/kg_emergency_button_background</item> 50 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 51 <item name="android:paddingLeft">26dp</item> 52 <item name="android:paddingRight">26dp</item> 53 <item name="android:stateListAnimator">@null</item> 54 </style> 55 <style name="NumPadKey" parent="Theme.SystemUI"> 56 <!-- Studio can't directly reference ?androidprv:attr/colorSurface here, so this value 57 is resolved in {@link NumPadAnimator}. --> 58 <item name="android:colorControlNormal">@null</item> 59 <item name="android:colorControlHighlight">?android:attr/colorAccent</item> 60 <item name="android:background">@drawable/num_pad_key_background</item> 61 62 <!-- Default values for NumPadKey used in a ConstraintLayout. --> 63 <item name="layout_constraintDimensionRatio">@string/num_pad_key_ratio</item> 64 <item name="layout_constraintWidth_max">@dimen/num_pad_key_width</item> 65 </style> 66 <style name="Widget.TextView.NumPadKey.Digit" 67 parent="@android:style/Widget.DeviceDefault.TextView"> 68 <item name="android:singleLine">true</item> 69 <item name="android:gravity">center_horizontal|center_vertical</item> 70 <item name="android:background">@null</item> 71 <item name="android:textSize">32dp</item> 72 <item name="android:textColor">?android:attr/textColorPrimary</item> 73 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 74 <item name="android:paddingBottom">-16dp</item> 75 </style> 76 <style name="Widget.TextView.Password" parent="@android:style/Widget.TextView"> 77 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 78 <item name="android:background">@drawable/bouncer_pin_view_focused_background</item> 79 <item name="android:gravity">center</item> 80 <item name="android:textColor">?android:attr/textColorPrimary</item> 81 </style> 82 <style name="NumPadKey.Delete"> 83 <item name="android:colorControlNormal">@color/numpad_key_color_secondary</item> 84 <item name="android:src">@drawable/ic_backspace_24dp</item> 85 </style> 86 <style name="NumPadKey.Enter"> 87 <item name="android:colorControlNormal">@color/numpad_key_color_secondary</item> 88 <item name="android:src">@drawable/ic_keyboard_tab_36dp</item> 89 </style> 90 <style name="Widget.TextView.NumPadKey.Klondike" 91 parent="@android:style/Widget.DeviceDefault.TextView"> 92 <item name="android:textSize">12sp</item> 93 <item name="android:background">@null</item> 94 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 95 <item name="android:textColor">?android:attr/textColorSecondary</item> 96 <item name="android:paddingBottom">0dp</item> 97 </style> 98 99 <!-- Built-in clock widget stuff --> 100 <style name="widget_big"> 101 <item name="android:textSize">@dimen/widget_big_font_size</item> 102 <item name="android:paddingBottom">@dimen/bottom_text_spacing_digital</item> 103 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 104 <item name="android:fontFeatureSettings">@*android:string/config_headlineFontFeatureSettings</item> 105 <item name="android:ellipsize">none</item> 106 <item name="android:shadowColor">@color/keyguard_shadow_color</item> 107 <item name="android:shadowRadius">?attr/shadowRadius</item> 108 </style> 109 110 <style name="widget_small_bold"> 111 <item name="android:textStyle">bold</item> 112 <item name="android:textSize">@dimen/widget_small_font_size</item> 113 <item name="android:paddingBottom">@dimen/bottom_text_spacing_digital</item> 114 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 115 <item name="android:ellipsize">none</item> 116 <item name="android:shadowColor">@color/keyguard_shadow_color</item> 117 <item name="android:shadowRadius">?attr/shadowRadius</item> 118 </style> 119 120 <style name="PasswordTheme" parent="Theme.SystemUI"> 121 <item name="android:textColor">?android:attr/textColorPrimary</item> 122 <item name="android:colorControlNormal">?android:attr/textColorPrimary</item> 123 <item name="android:colorControlActivated">?android:attr/textColorPrimary</item> 124 </style> 125 126 <style name="Theme.SystemUI.KeyguardPresentation"> 127 <item name="android:windowActionBar">false</item> 128 <item name="android:windowNoTitle">true</item> 129 <item name="android:windowFullscreen">true</item> 130 <item name="android:windowContentOverlay">@null</item> 131 <item name="android:colorBackground">@*android:color/background_material_dark</item> 132 </style> 133 134 <style name="TextAppearance.Keyguard"> 135 <item name="android:textSize">@dimen/widget_title_font_size</item> 136 <item name="android:lineHeight">@dimen/widget_title_line_height</item> 137 <item name="android:gravity">start</item> 138 <item name="android:ellipsize">end</item> 139 <item name="android:maxLines">2</item> 140 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 141 <item name="android:shadowColor">@color/keyguard_shadow_color</item> 142 <item name="android:shadowRadius">?attr/shadowRadius</item> 143 </style> 144 145 <style name="TextAppearance.Keyguard.Secondary"> 146 <item name="android:layout_width">wrap_content</item> 147 <item name="android:layout_height">wrap_content</item> 148 <item name="android:lines">1</item> 149 <item name="android:textSize">@dimen/widget_label_font_size</item> 150 <item name="android:lineHeight">@dimen/widget_label_line_height</item> 151 </style> 152 153 <style name="TextAppearance.Keyguard.BottomArea"> 154 <item name="android:textSize">14sp</item> 155 <item name="android:maxLines">1</item> 156 <item name="android:gravity">center</item> 157 <item name="android:textColor">?attr/wallpaperTextColor</item> 158 <item name="android:shadowColor">@color/keyguard_shadow_color</item> 159 <item name="android:shadowRadius">?attr/shadowRadius</item> 160 </style> 161 162 <style name="TextAppearance.Keyguard.BottomArea.Button"> 163 <item name="android:shadowRadius">0</item> 164 </style> 165 166 <style name="Bouncer.UserSwitcher.Spinner" parent="@android:style/Widget.DeviceDefault.TextView"> 167 <item name="android:textColor">?android:attr/textColorPrimary</item> 168 <item name="android:singleLine">true</item> 169 <item name="android:ellipsize">end</item> 170 <item name="android:minHeight">48dp</item> 171 <item name="android:paddingVertical">@dimen/bouncer_user_switcher_item_padding_vertical</item> 172 <item name="android:paddingHorizontal">@dimen/bouncer_user_switcher_item_padding_horizontal</item> 173 <item name="android:lineHeight">@dimen/bouncer_user_switcher_item_line_height</item> 174 <item name="android:gravity">start|center_vertical</item> 175 </style> 176 177 <style name="Bouncer.UserSwitcher.Spinner.Header"> 178 <item name="android:background">@drawable/bouncer_user_switcher_header_bg</item> 179 <item name="android:textSize">@dimen/bouncer_user_switcher_header_text_size</item> 180 <item name="android:paddingEnd">@dimen/bouncer_user_switcher_header_padding_end</item> 181 </style> 182 183 <style name="Bouncer.UserSwitcher.Spinner.Item"> 184 <item name="android:textSize">@dimen/bouncer_user_switcher_item_text_size</item> 185 </style> 186</resources> 187