Ihab Awad | 30c8387 | 2014-03-03 14:12:57 -0800 | [diff] [blame] | 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 | <TableLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/dialpad" |
| 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="wrap_content" |
| 22 | android:layout_gravity="center_horizontal" |
| 23 | android:paddingLeft="@dimen/dialpad_horizontal_padding" |
| 24 | android:paddingRight="@dimen/dialpad_horizontal_padding" |
| 25 | android:background="@color/background_dialpad" |
| 26 | android:stretchColumns="*" |
| 27 | android:layoutDirection="ltr" > |
| 28 | |
| 29 | <TableRow> |
| 30 | <include layout="@layout/dialpad_key" android:id="@+id/one"/> |
| 31 | <include layout="@layout/dialpad_key" android:id="@+id/two"/> |
| 32 | <include layout="@layout/dialpad_key" android:id="@+id/three"/> |
| 33 | </TableRow> |
| 34 | |
| 35 | <TableRow> |
| 36 | <include layout="@layout/dialpad_key" android:id="@+id/four"/> |
| 37 | <include layout="@layout/dialpad_key" android:id="@+id/five"/> |
| 38 | <include layout="@layout/dialpad_key" android:id="@+id/six"/> |
| 39 | </TableRow> |
| 40 | |
| 41 | <TableRow> |
| 42 | <include layout="@layout/dialpad_key" android:id="@+id/seven"/> |
| 43 | <include layout="@layout/dialpad_key" android:id="@+id/eight"/> |
| 44 | <include layout="@layout/dialpad_key" android:id="@+id/nine"/> |
| 45 | </TableRow> |
| 46 | |
| 47 | <TableRow> |
| 48 | <com.android.dialer.dialpad.DialpadKeyButton |
| 49 | android:id="@+id/star" |
| 50 | style="@style/DialpadKeyButtonStyle"> |
| 51 | <LinearLayout |
| 52 | style="@style/DialpadKeyInternalLayoutStyle"> |
| 53 | <TextView |
Yorke Lee | db35a88 | 2014-03-11 17:53:32 -0700 | [diff] [blame^] | 54 | android:id="@+id/dialpad_key_number" |
Ihab Awad | 30c8387 | 2014-03-03 14:12:57 -0800 | [diff] [blame] | 55 | style="@style/DialpadKeyStarPoundStyle" /> |
| 56 | <View |
| 57 | android:layout_height="match_parent" |
| 58 | android:layout_width="@dimen/dialpad_key_letters_width" /> |
| 59 | </LinearLayout> |
| 60 | </com.android.dialer.dialpad.DialpadKeyButton> |
| 61 | <include layout="@layout/dialpad_key" android:id="@+id/zero"/> |
| 62 | <com.android.dialer.dialpad.DialpadKeyButton |
| 63 | android:id="@+id/pound" |
| 64 | style="@style/DialpadKeyButtonStyle"> |
| 65 | <LinearLayout |
| 66 | style="@style/DialpadKeyInternalLayoutStyle"> |
| 67 | <TextView |
| 68 | android:id="@id/dialpad_key_number" |
| 69 | style="@style/DialpadKeyStarPoundStyle" /> |
| 70 | <View |
| 71 | android:layout_height="match_parent" |
| 72 | android:layout_width="@dimen/dialpad_key_letters_width" /> |
| 73 | </LinearLayout> |
| 74 | </com.android.dialer.dialpad.DialpadKeyButton> |
| 75 | </TableRow> |
| 76 | </TableLayout> |