blob: c3db4209486788443dfa0379d2f2c665511d34a9 [file] [log] [blame]
Chiao Cheng94b10b52012-08-17 16:59:12 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 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<!-- Dialpad in the Phone app. -->
18<TableLayout
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 android:id="@+id/dialpad"
21 android:layout_width="match_parent"
Ihab Awad526c0b82014-02-27 12:55:36 -080022 android:layout_height="wrap_content"
23 android:paddingLeft="5dp"
24 android:paddingRight="5dp"
25 android:background="@android:color/transparent"
26 android:stretchColumns="*"
Fabrice Di Meglioc341db02013-04-03 21:11:37 -070027 android:layoutDirection="ltr" >
Chiao Cheng94b10b52012-08-17 16:59:12 -070028
Ihab Awad526c0b82014-02-27 12:55:36 -080029 <TableRow>
Yorke Lee8898cd02013-08-08 10:24:27 -070030 <com.android.dialer.dialpad.DialpadKeyButton
Yorke Lee8898cd02013-08-08 10:24:27 -070031 android:id="@+id/one"
Ihab Awad526c0b82014-02-27 12:55:36 -080032 style="@style/DialpadKeyButtonStyle">
Yorke Lee77840872013-09-06 12:08:08 -070033 <LinearLayout
Ihab Awad526c0b82014-02-27 12:55:36 -080034 style="@style/DialpadKeyInternalLayoutStyle">
Yorke Lee77840872013-09-06 12:08:08 -070035 <TextView
36 android:id="@+id/dialpad_key_number"
Ihab Awad526c0b82014-02-27 12:55:36 -080037 style="@style/DialpadKeyNumberStyle"/>
Yorke Lee77840872013-09-06 12:08:08 -070038 <ImageView
39 android:id="@+id/dialpad_key_voicemail"
Ihab Awad526c0b82014-02-27 12:55:36 -080040 style="@style/DialpadKeyLettersStyle"
Yorke Lee77840872013-09-06 12:08:08 -070041 android:src="@drawable/ic_dial_action_vm"
Yorke Lee77840872013-09-06 12:08:08 -070042 android:scaleType="fitStart"
43 android:baselineAlignBottom="true" />
44 </LinearLayout>
Yorke Lee8898cd02013-08-08 10:24:27 -070045 </com.android.dialer.dialpad.DialpadKeyButton>
46 <include layout="@layout/dialpad_key" android:id="@+id/two"/>
47 <include layout="@layout/dialpad_key" android:id="@+id/three"/>
Chiao Cheng94b10b52012-08-17 16:59:12 -070048 </TableRow>
49
Ihab Awad526c0b82014-02-27 12:55:36 -080050 <TableRow>
Yorke Lee8898cd02013-08-08 10:24:27 -070051 <include layout="@layout/dialpad_key" android:id="@+id/four"/>
52 <include layout="@layout/dialpad_key" android:id="@+id/five"/>
53 <include layout="@layout/dialpad_key" android:id="@+id/six"/>
Chiao Cheng94b10b52012-08-17 16:59:12 -070054 </TableRow>
55
Ihab Awad526c0b82014-02-27 12:55:36 -080056 <TableRow>
Yorke Lee8898cd02013-08-08 10:24:27 -070057 <include layout="@layout/dialpad_key" android:id="@+id/seven"/>
58 <include layout="@layout/dialpad_key" android:id="@+id/eight"/>
59 <include layout="@layout/dialpad_key" android:id="@+id/nine"/>
Chiao Cheng94b10b52012-08-17 16:59:12 -070060 </TableRow>
61
Ihab Awad526c0b82014-02-27 12:55:36 -080062 <TableRow>
Yorke Lee8898cd02013-08-08 10:24:27 -070063 <com.android.dialer.dialpad.DialpadKeyButton
Yorke Lee8898cd02013-08-08 10:24:27 -070064 android:id="@+id/star"
Ihab Awad526c0b82014-02-27 12:55:36 -080065 style="@style/DialpadKeyButtonStyle">
66 <LinearLayout
67 style="@style/DialpadKeyInternalLayoutStyle">
68 <TextView
69 android:id="@id/dialpad_key_number"
70 style="@style/DialpadKeyStarPoundStyle" />
71 <View
72 android:layout_height="match_parent"
73 android:layout_width="@dimen/dialpad_key_letters_width" />
74 </LinearLayout>
Yorke Lee8898cd02013-08-08 10:24:27 -070075 </com.android.dialer.dialpad.DialpadKeyButton>
76 <include layout="@layout/dialpad_key" android:id="@+id/zero"/>
77 <com.android.dialer.dialpad.DialpadKeyButton
Yorke Lee8898cd02013-08-08 10:24:27 -070078 android:id="@+id/pound"
Ihab Awad526c0b82014-02-27 12:55:36 -080079 style="@style/DialpadKeyButtonStyle">
80 <LinearLayout
81 style="@style/DialpadKeyInternalLayoutStyle">
82 <TextView
83 android:id="@id/dialpad_key_number"
84 style="@style/DialpadKeyStarPoundStyle" />
85 <View
86 android:layout_height="match_parent"
87 android:layout_width="@dimen/dialpad_key_letters_width" />
88 </LinearLayout>
Yorke Lee8898cd02013-08-08 10:24:27 -070089 </com.android.dialer.dialpad.DialpadKeyButton>
Chiao Cheng94b10b52012-08-17 16:59:12 -070090 </TableRow>
91</TableLayout>