blob: e71d4edf02d269ae1f9411042b9698c582ea2727 [file] [log] [blame]
Yorke Lee6b049122013-07-16 10:38:02 -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"
22 android:layout_height="0px"
23 android:layout_weight="@integer/dialpad_layout_weight_dialpad"
24 android:layout_gravity="center_horizontal"
25 android:layout_marginTop="@dimen/dialpad_vertical_margin"
26 android:paddingStart="5dip"
27 android:paddingEnd="5dip"
28 android:paddingBottom="10dip"
Yorke Leebf34a902013-07-24 19:00:04 -070029 android:stretchColumns="0,1,2"
Yorke Lee6b049122013-07-16 10:38:02 -070030 android:layoutDirection="ltr" >
31
32 <TableRow
33 android:layout_height="0px"
34 android:layout_weight="1">
Yorke Leebf34a902013-07-24 19:00:04 -070035 <include layout="@layout/dialpad_key" android:id="@+id/one"/>
36 <include layout="@layout/dialpad_key" android:id="@+id/two"/>
37 <include layout="@layout/dialpad_key" android:id="@+id/three"/>
Yorke Lee6b049122013-07-16 10:38:02 -070038 </TableRow>
39
40 <TableRow
41 android:layout_height="0px"
42 android:layout_weight="1">
Yorke Leebf34a902013-07-24 19:00:04 -070043 <include layout="@layout/dialpad_key" android:id="@+id/four"/>
44 <include layout="@layout/dialpad_key" android:id="@+id/five"/>
45 <include layout="@layout/dialpad_key" android:id="@+id/six"/>
Yorke Lee6b049122013-07-16 10:38:02 -070046 </TableRow>
47
48 <TableRow
49 android:layout_height="0px"
50 android:layout_weight="1">
Yorke Leebf34a902013-07-24 19:00:04 -070051 <include layout="@layout/dialpad_key" android:id="@+id/seven"/>
52 <include layout="@layout/dialpad_key" android:id="@+id/eight"/>
53 <include layout="@layout/dialpad_key" android:id="@+id/nine"/>
Yorke Lee6b049122013-07-16 10:38:02 -070054 </TableRow>
55
56 <TableRow
57 android:layout_height="0px"
58 android:layout_weight="1">
Yorke Leebf34a902013-07-24 19:00:04 -070059 <include layout="@layout/dialpad_key" android:id="@+id/star"/>
60 <include layout="@layout/dialpad_key" android:id="@+id/zero"/>
61 <include layout="@layout/dialpad_key" android:id="@+id/pound"/>
Yorke Lee6b049122013-07-16 10:38:02 -070062 </TableRow>
63</TableLayout>