• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright 2017, The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License")
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9      http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16-->
17<resources xmlns:android="http://schemas.android.com/apk/res/android">
18
19    <!-- The style for the volume icons in the volume dialog. This style makes the icon scale to
20         fit its container since auto wants the icon to be larger. The padding is added to make it
21         so the icon does not press along the edges of the dialog. -->
22    <style name="NumPadKeyButton">
23        <item name="android:layout_width">@dimen/num_pad_key_width</item>
24        <item name="android:layout_height">@dimen/num_pad_key_height</item>
25        <item name="android:layout_marginBottom">@dimen/num_pad_key_margin_bottom</item>
26        <item name="textView">@id/pinEntry</item>
27    </style>
28
29    <style name="NumPadKeyButton.MiddleColumn">
30        <item name="android:layout_marginStart">@dimen/num_pad_key_margin_horizontal</item>
31        <item name="android:layout_marginEnd">@dimen/num_pad_key_margin_horizontal</item>
32    </style>
33
34    <style name="NumPadKeyButton.LastRow">
35        <item name="android:layout_marginBottom">0dp</item>
36    </style>
37
38    <style name="NumPadKeyButton.LastRow.MiddleColumn">
39        <item name="android:layout_marginStart">@dimen/num_pad_key_margin_horizontal</item>
40        <item name="android:layout_marginEnd">@dimen/num_pad_key_margin_horizontal</item>
41    </style>
42
43    <style name="KeyguardButton" parent="@android:style/Widget.DeviceDefault.Button">
44        <item name="android:background">@drawable/keyguard_button_background</item>
45        <item name="android:textColor">@color/button_text</item>
46        <item name="android:textAllCaps">false</item>
47    </style>
48
49    <style name="Widget.TextView.NumPadKey" parent="@android:style/Widget.TextView">
50        <!-- Only replaces the text size. -->
51        <item name="android:textSize">@*android:dimen/car_body1_size</item>
52    </style>
53</resources>
54