You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
146 lines
7.4 KiB
146 lines
7.4 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
**
|
|
** Copyright 2012, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License")
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
|
|
<resources>
|
|
<!-- Keyguard PIN pad styles -->
|
|
<style name="Keyguard.TextView" parent="@android:style/Widget.DeviceDefault.TextView">
|
|
<item name="android:textSize">@dimen/kg_status_line_font_size</item>
|
|
</style>
|
|
<style name="Keyguard.TextView.EmergencyButton" parent="Theme.SystemUI">
|
|
<item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
|
|
<item name="android:textSize">14dp</item>
|
|
<item name="android:background">@drawable/kg_emergency_button_background</item>
|
|
<item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
|
|
<item name="android:paddingLeft">12dp</item>
|
|
<item name="android:paddingRight">12dp</item>
|
|
<item name="android:stateListAnimator">@null</item>
|
|
</style>
|
|
<style name="NumPadKey" parent="Theme.SystemUI">
|
|
<!-- Studio can't directly reference ?androidprv:attr/colorSurface here, so this value
|
|
is resolved in {@link NumPadAnimator}. -->
|
|
<item name="android:colorControlNormal">@null</item>
|
|
<item name="android:colorControlHighlight">?android:attr/colorAccent</item>
|
|
<item name="android:background">@drawable/num_pad_key_background</item>
|
|
</style>
|
|
<style name="Widget.TextView.NumPadKey.Digit"
|
|
parent="@android:style/Widget.DeviceDefault.TextView">
|
|
<item name="android:singleLine">true</item>
|
|
<item name="android:gravity">center_horizontal|center_vertical</item>
|
|
<item name="android:background">@null</item>
|
|
<item name="android:textSize">32sp</item>
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
<item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
|
|
<item name="android:paddingBottom">-16dp</item>
|
|
</style>
|
|
<style name="Widget.TextView.Password" parent="@android:style/Widget.TextView">
|
|
<item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
</style>
|
|
<style name="NumPadKey.Delete">
|
|
<item name="android:colorControlNormal">?android:attr/textColorSecondary</item>
|
|
<item name="android:src">@drawable/ic_backspace_24dp</item>
|
|
</style>
|
|
<style name="NumPadKey.Enter">
|
|
<item name="android:colorControlNormal">?android:attr/textColorSecondary</item>
|
|
<item name="android:src">@drawable/ic_keyboard_tab_36dp</item>
|
|
</style>
|
|
<style name="Widget.TextView.NumPadKey.Klondike"
|
|
parent="@android:style/Widget.DeviceDefault.TextView">
|
|
<item name="android:textSize">12sp</item>
|
|
<item name="android:background">@null</item>
|
|
<item name="android:fontFamily">@*android:string/config_bodyFontFamily</item>
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
<item name="android:paddingBottom">0dp</item>
|
|
</style>
|
|
|
|
<!-- Built-in clock widget stuff -->
|
|
<style name="widget_label">
|
|
<item name="android:textSize">@dimen/widget_label_font_size</item>
|
|
</style>
|
|
<style name="widget_big">
|
|
<item name="android:textSize">@dimen/widget_big_font_size</item>
|
|
<item name="android:paddingBottom">@dimen/bottom_text_spacing_digital</item>
|
|
<item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
|
|
<item name="android:fontFeatureSettings">@*android:string/config_headlineFontFeatureSettings</item>
|
|
<item name="android:ellipsize">none</item>
|
|
<item name="android:shadowColor">@color/keyguard_shadow_color</item>
|
|
<item name="android:shadowRadius">?attr/shadowRadius</item>
|
|
</style>
|
|
<style name="widget_title_bold">
|
|
<item name="android:textStyle">bold</item>
|
|
<item name="android:textSize">@dimen/widget_title_font_size</item>
|
|
<item name="android:paddingBottom">@dimen/widget_vertical_padding_clock</item>
|
|
<item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
|
|
<item name="android:ellipsize">none</item>
|
|
<item name="android:shadowColor">@color/keyguard_shadow_color</item>
|
|
<item name="android:shadowRadius">?attr/shadowRadius</item>
|
|
</style>
|
|
<style name="widget_small_bold">
|
|
<item name="android:textStyle">bold</item>
|
|
<item name="android:textSize">@dimen/widget_small_font_size</item>
|
|
<item name="android:paddingBottom">@dimen/bottom_text_spacing_digital</item>
|
|
<item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
|
|
<item name="android:ellipsize">none</item>
|
|
<item name="android:shadowColor">@color/keyguard_shadow_color</item>
|
|
<item name="android:shadowRadius">?attr/shadowRadius</item>
|
|
</style>
|
|
|
|
<style name="PasswordTheme" parent="Theme.SystemUI">
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
<item name="android:colorControlNormal">?android:attr/textColorPrimary</item>
|
|
<item name="android:colorControlActivated">?android:attr/textColorPrimary</item>
|
|
</style>
|
|
|
|
<style name="Theme.SystemUI.KeyguardPresentation">
|
|
<item name="android:windowActionBar">false</item>
|
|
<item name="android:windowNoTitle">true</item>
|
|
<item name="android:windowFullscreen">true</item>
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
<item name="android:colorBackground">@*android:color/background_material_dark</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Keyguard">
|
|
<item name="android:textSize">@dimen/widget_title_font_size</item>
|
|
<item name="android:lineHeight">@dimen/widget_title_line_height</item>
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:ellipsize">end</item>
|
|
<item name="android:maxLines">2</item>
|
|
<item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
|
|
<item name="android:shadowColor">@color/keyguard_shadow_color</item>
|
|
<item name="android:shadowRadius">?attr/shadowRadius</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Keyguard.Secondary">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:lines">1</item>
|
|
<item name="android:textSize">@dimen/widget_label_font_size</item>
|
|
<item name="android:lineHeight">@dimen/widget_label_line_height</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Keyguard.BottomArea">
|
|
<item name="android:textSize">14sp</item>
|
|
<item name="android:maxLines">1</item>
|
|
<item name="android:textColor">?attr/wallpaperTextColor</item>
|
|
<item name="android:shadowColor">@color/keyguard_shadow_color</item>
|
|
<item name="android:shadowRadius">?attr/shadowRadius</item>
|
|
</style>
|
|
</resources>
|