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>
21    <!-- Keyguard PIN pad styles -->
22    <style name="Keyguard.TextView" parent="@android:style/Widget.DeviceDefault.TextView">
23        <item name="android:textColor">?attr/wallpaperTextColorSecondary</item>
24        <item name="android:textSize">@dimen/kg_status_line_font_size</item>
25    </style>
26    <style name="Keyguard.TextView.EmergencyButton" parent="@android:style/DeviceDefault.ButtonBar">
27        <item name="android:textColor">?attr/wallpaperTextColorSecondary</item>
28        <item name="android:textSize">@dimen/kg_status_line_font_size</item>
29        <item name="android:background">@null</item>
30    </style>
31    <style name="Widget.TextView.NumPadKey" parent="@android:style/Widget.TextView">
32        <item name="android:singleLine">true</item>
33        <item name="android:gravity">center_horizontal|center_vertical</item>
34        <item name="android:background">@null</item>
35        <item name="android:textSize">32sp</item>
36        <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
37        <item name="android:textColor">?attr/wallpaperTextColor</item>
38        <item name="android:paddingBottom">-16dp</item>
39    </style>
40    <style name="Keyguard.ImageButton.NumPadDelete" parent="@android:style/Widget.ImageButton">
41        <item name="android:src">@drawable/ic_backspace_black_24dp</item>
42        <item name="android:paddingBottom">11sp</item>
43        <item name="android:tint">@color/pin_delete_color</item>
44        <item name="android:tintMode">src_in</item>
45        <item name="android:src">@drawable/ic_backspace_black_24dp</item>
46    </style>
47    <style name="Keyguard.ImageButton.NumPadEnter" parent="@android:style/Widget.ImageButton">
48        <item name="android:src">@drawable/ic_keyboard_tab_36dp</item>
49        <item name="android:paddingBottom">11sp</item>
50    </style>
51    <style name="Widget.TextView.NumPadKey.Klondike" parent="Widget.TextView.NumPadKey">
52        <item name="android:textSize">12sp</item>
53        <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item>
54        <item name="android:textColor">?attr/wallpaperTextColorSecondary</item>
55        <item name="android:paddingBottom">0dp</item>
56    </style>
57
58    <!-- Built-in clock widget stuff -->
59    <style name="widget_label">
60        <item name="android:textSize">@dimen/widget_label_font_size</item>
61    </style>
62    <style name="widget_big">
63        <item name="android:textSize">@dimen/widget_big_font_size</item>
64        <item name="android:paddingBottom">@dimen/bottom_text_spacing_digital</item>
65        <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
66        <item name="android:fontFeatureSettings">@*android:string/config_headlineFontFeatureSettings</item>
67        <item name="android:ellipsize">none</item>
68        <item name="android:shadowColor">@color/keyguard_shadow_color</item>
69        <item name="android:shadowRadius">?attr/shadowRadius</item>
70    </style>
71    <style name="widget_title_bold">
72        <item name="android:textStyle">bold</item>
73        <item name="android:textSize">@dimen/widget_title_font_size</item>
74        <item name="android:paddingBottom">@dimen/widget_vertical_padding_clock</item>
75        <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
76        <item name="android:ellipsize">none</item>
77        <item name="android:shadowColor">@color/keyguard_shadow_color</item>
78        <item name="android:shadowRadius">?attr/shadowRadius</item>
79    </style>
80    <style name="widget_small_bold">
81        <item name="android:textStyle">bold</item>
82        <item name="android:textSize">@dimen/widget_small_font_size</item>
83        <item name="android:paddingBottom">@dimen/bottom_text_spacing_digital</item>
84        <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
85        <item name="android:ellipsize">none</item>
86        <item name="android:shadowColor">@color/keyguard_shadow_color</item>
87        <item name="android:shadowRadius">?attr/shadowRadius</item>
88    </style>
89
90    <style name="BouncerSecurityContainer">
91        <item name="android:layout_gravity">center_horizontal|bottom</item>
92    </style>
93
94    <style name="PasswordTheme" parent="Theme.SystemUI">
95        <item name="android:textColor">?attr/wallpaperTextColor</item>
96        <item name="android:colorControlNormal">?attr/wallpaperTextColor</item>
97        <item name="android:colorControlActivated">?attr/wallpaperTextColor</item>
98    </style>
99
100    <style name="PasswordTheme.Light" parent="Theme.SystemUI.Light">
101        <item name="android:textColor">?attr/wallpaperTextColor</item>
102        <item name="android:colorControlNormal">?attr/wallpaperTextColor</item>
103        <item name="android:colorControlActivated">?attr/wallpaperTextColor</item>
104    </style>
105
106    <style name="Theme.SystemUI.KeyguardPresentation">
107        <item name="android:windowActionBar">false</item>
108        <item name="android:windowNoTitle">true</item>
109        <item name="android:windowFullscreen">true</item>
110        <item name="android:windowContentOverlay">@null</item>
111        <item name="android:colorBackground">@*android:color/background_material_dark</item>
112    </style>
113
114    <style name="TextAppearance.Keyguard">
115        <item name="android:textSize">@dimen/widget_title_font_size</item>
116        <item name="android:gravity">center</item>
117        <item name="android:ellipsize">end</item>
118        <item name="android:maxLines">2</item>
119        <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
120        <item name="android:shadowColor">@color/keyguard_shadow_color</item>
121        <item name="android:shadowRadius">?attr/shadowRadius</item>
122    </style>
123
124    <style name="TextAppearance.Keyguard.Secondary">
125        <item name="android:layout_width">wrap_content</item>
126        <item name="android:layout_height">wrap_content</item>
127        <item name="android:lines">1</item>
128        <item name="android:textSize">@dimen/widget_label_font_size</item>
129    </style>
130
131    <style name="TextAppearance.Keyguard.BottomArea">
132        <item name="android:textSize">14sp</item>
133        <item name="android:maxLines">1</item>
134        <item name="android:textColor">?attr/wallpaperTextColor</item>
135        <item name="android:shadowColor">@color/keyguard_shadow_color</item>
136        <item name="android:shadowRadius">?attr/shadowRadius</item>
137    </style>
138
139</resources>
140