Yorke Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 1 | <?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 Lee | bf34a90 | 2013-07-24 19:00:04 -0700 | [diff] [blame] | 29 | android:stretchColumns="0,1,2" |
Yorke Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 30 | android:layoutDirection="ltr" > |
| 31 | |
| 32 | <TableRow |
| 33 | android:layout_height="0px" |
| 34 | android:layout_weight="1"> |
Yorke Lee | bf34a90 | 2013-07-24 19:00:04 -0700 | [diff] [blame] | 35 | <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 Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 38 | </TableRow> |
| 39 | |
| 40 | <TableRow |
| 41 | android:layout_height="0px" |
| 42 | android:layout_weight="1"> |
Yorke Lee | bf34a90 | 2013-07-24 19:00:04 -0700 | [diff] [blame] | 43 | <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 Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 46 | </TableRow> |
| 47 | |
| 48 | <TableRow |
| 49 | android:layout_height="0px" |
| 50 | android:layout_weight="1"> |
Yorke Lee | bf34a90 | 2013-07-24 19:00:04 -0700 | [diff] [blame] | 51 | <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 Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 54 | </TableRow> |
| 55 | |
| 56 | <TableRow |
| 57 | android:layout_height="0px" |
| 58 | android:layout_weight="1"> |
Yorke Lee | bf34a90 | 2013-07-24 19:00:04 -0700 | [diff] [blame] | 59 | <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 Lee | 6b04912 | 2013-07-16 10:38:02 -0700 | [diff] [blame] | 62 | </TableRow> |
| 63 | </TableLayout> |