52 lines
2.3 KiB
XML
52 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2017, 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 xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<!-- The style for the volume icons in the volume dialog. This style makes the icon scale to
|
|
fit its container since auto wants the icon to be larger. The padding is added to make it
|
|
so the icon does not press along the edges of the dialog. -->
|
|
<style name="NumPadKeyButton">
|
|
<!-- NOTE: layout_width and layout_height must be set to 0dp for the buttons to render. -->
|
|
<item name="android:layout_width">0dp</item>
|
|
<item name="android:layout_height">0dp</item>
|
|
<item name="android:background">?android:attr/selectableItemBackground</item>
|
|
<item name="textView">@id/pinEntry</item>
|
|
</style>
|
|
|
|
<style name="NumPadKeyButton.land">
|
|
<item name="android:layout_width">@dimen/num_pad_key_width</item>
|
|
<item name="android:layout_height">@dimen/num_pad_key_height</item>
|
|
</style>
|
|
|
|
<style name="NumPadKeyButton.LastRow">
|
|
<item name="android:layout_marginBottom">0dp</item>
|
|
<item name="android:colorControlNormal">?android:attr/colorBackground</item>
|
|
<item name="android:colorControlHighlight">?android:attr/colorAccent</item>
|
|
</style>
|
|
|
|
<style name="KeyguardButton" parent="@android:style/Widget.DeviceDefault.Button">
|
|
<item name="android:background">?android:attr/selectableItemBackground</item>
|
|
<item name="android:textColor">@color/button_text</item>
|
|
<item name="android:textAllCaps">false</item>
|
|
</style>
|
|
|
|
<style name="Widget.TextView.NumPadKey" parent="@android:style/Widget.TextView">
|
|
<!-- Only replaces the text size. -->
|
|
<item name="android:textSize">@*android:dimen/car_body1_size</item>
|
|
</style>
|
|
</resources>
|