Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -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:paddingLeft="5dip" |
| 27 | android:paddingRight="5dip" |
| 28 | android:paddingBottom="10dip" |
| 29 | android:background="@drawable/dialpad_background"> |
| 30 | |
| 31 | <TableRow |
| 32 | android:layout_height="0px" |
| 33 | android:layout_weight="1"> |
| 34 | <com.android.dialer.dialpad.DialpadImageButton |
| 35 | android:id="@+id/one" style="@style/DialtactsDialpadButtonStyle" |
| 36 | android:src="@drawable/dial_num_1_wht" |
| 37 | android:contentDescription="@string/description_image_button_one" /> |
| 38 | <com.android.dialer.dialpad.DialpadImageButton |
| 39 | android:id="@+id/two" style="@style/DialtactsDialpadButtonStyle" |
| 40 | android:src="@drawable/dial_num_2_wht" |
| 41 | android:contentDescription="@string/description_image_button_two" /> |
| 42 | <com.android.dialer.dialpad.DialpadImageButton |
| 43 | android:id="@+id/three" style="@style/DialtactsDialpadButtonStyle" |
| 44 | android:src="@drawable/dial_num_3_wht" |
| 45 | android:contentDescription="@string/description_image_button_three" /> |
| 46 | </TableRow> |
| 47 | |
| 48 | <TableRow |
| 49 | android:layout_height="0px" |
| 50 | android:layout_weight="1"> |
| 51 | <com.android.dialer.dialpad.DialpadImageButton |
| 52 | android:id="@+id/four" style="@style/DialtactsDialpadButtonStyle" |
| 53 | android:src="@drawable/dial_num_4_wht" |
| 54 | android:contentDescription="@string/description_image_button_four" /> |
| 55 | <com.android.dialer.dialpad.DialpadImageButton |
| 56 | android:id="@+id/five" style="@style/DialtactsDialpadButtonStyle" |
| 57 | android:src="@drawable/dial_num_5_wht" |
| 58 | android:contentDescription="@string/description_image_button_five" /> |
| 59 | <com.android.dialer.dialpad.DialpadImageButton |
| 60 | android:id="@+id/six" style="@style/DialtactsDialpadButtonStyle" |
| 61 | android:src="@drawable/dial_num_6_wht" |
| 62 | android:contentDescription="@string/description_image_button_six" /> |
| 63 | </TableRow> |
| 64 | |
| 65 | <TableRow |
| 66 | android:layout_height="0px" |
| 67 | android:layout_weight="1"> |
| 68 | <com.android.dialer.dialpad.DialpadImageButton |
| 69 | android:id="@+id/seven" style="@style/DialtactsDialpadButtonStyle" |
| 70 | android:src="@drawable/dial_num_7_wht" |
| 71 | android:contentDescription="@string/description_image_button_seven" /> |
| 72 | <com.android.dialer.dialpad.DialpadImageButton |
| 73 | android:id="@+id/eight" style="@style/DialtactsDialpadButtonStyle" |
| 74 | android:src="@drawable/dial_num_8_wht" |
| 75 | android:contentDescription="@string/description_image_button_eight" /> |
| 76 | <com.android.dialer.dialpad.DialpadImageButton |
| 77 | android:id="@+id/nine" style="@style/DialtactsDialpadButtonStyle" |
| 78 | android:src="@drawable/dial_num_9_wht" |
| 79 | android:contentDescription="@string/description_image_button_nine" /> |
| 80 | </TableRow> |
| 81 | |
| 82 | <TableRow |
| 83 | android:layout_height="0px" |
| 84 | android:layout_weight="1"> |
| 85 | <com.android.dialer.dialpad.DialpadImageButton |
| 86 | android:id="@+id/star" style="@style/DialtactsDialpadButtonStyle" |
| 87 | android:src="@drawable/dial_num_star_wht" |
| 88 | android:contentDescription="@string/description_image_button_star" /> |
| 89 | <com.android.dialer.dialpad.DialpadImageButton |
| 90 | android:id="@+id/zero" style="@style/DialtactsDialpadButtonStyle" |
| 91 | android:src="@drawable/dial_num_0_wht" |
| 92 | android:contentDescription="@string/description_image_button_zero" /> |
| 93 | <com.android.dialer.dialpad.DialpadImageButton |
| 94 | android:id="@+id/pound" style="@style/DialtactsDialpadButtonStyle" |
| 95 | android:src="@drawable/dial_num_pound_wht" |
| 96 | android:contentDescription="@string/description_image_button_pound" /> |
| 97 | </TableRow> |
| 98 | </TableLayout> |