1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- A layout representing the zero key in the dialpad, with the plus sign shifted up because it is
18     smaller than a regular letter -->
19<com.android.phone.common.dialpad.DialpadKeyButton
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    android:id="@+id/zero"
22    style="@style/DialpadKeyButtonStyle" >
23
24    <LinearLayout style="@style/DialpadKeyInternalLayoutStyle">
25
26        <!-- Note in the referenced styles that we assign hard widths to these components
27             because we want them to line up vertically when we arrange them in an MxN grid -->
28
29        <com.android.phone.common.dialpad.DialpadTextView
30            android:id="@+id/dialpad_key_number"
31            style="@style/DialpadBottomKeyNumberStyle" />
32
33        <TextView
34            android:id="@+id/dialpad_key_letters"
35            style="@style/DialpadKeyLettersStyle" />
36    </LinearLayout>
37</com.android.phone.common.dialpad.DialpadKeyButton>
38