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" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 22 | android:layout_height="wrap_content" |
| 23 | android:paddingLeft="5dp" |
| 24 | android:paddingRight="5dp" |
| 25 | android:background="@android:color/transparent" |
| 26 | android:stretchColumns="*" |
Fabrice Di Meglio | c341db0 | 2013-04-03 21:11:37 -0700 | [diff] [blame] | 27 | android:layoutDirection="ltr" > |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 28 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 29 | <TableRow> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 30 | <com.android.dialer.dialpad.DialpadKeyButton |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 31 | android:id="@+id/one" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 32 | style="@style/DialpadKeyButtonStyle"> |
Yorke Lee | 7784087 | 2013-09-06 12:08:08 -0700 | [diff] [blame] | 33 | <LinearLayout |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 34 | style="@style/DialpadKeyInternalLayoutStyle"> |
Yorke Lee | 7784087 | 2013-09-06 12:08:08 -0700 | [diff] [blame] | 35 | <TextView |
| 36 | android:id="@+id/dialpad_key_number" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 37 | style="@style/DialpadKeyNumberStyle"/> |
Yorke Lee | 7784087 | 2013-09-06 12:08:08 -0700 | [diff] [blame] | 38 | <ImageView |
| 39 | android:id="@+id/dialpad_key_voicemail" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 40 | style="@style/DialpadKeyLettersStyle" |
Yorke Lee | 7784087 | 2013-09-06 12:08:08 -0700 | [diff] [blame] | 41 | android:src="@drawable/ic_dial_action_vm" |
Yorke Lee | 7784087 | 2013-09-06 12:08:08 -0700 | [diff] [blame] | 42 | android:scaleType="fitStart" |
| 43 | android:baselineAlignBottom="true" /> |
| 44 | </LinearLayout> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 45 | </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 Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 48 | </TableRow> |
| 49 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 50 | <TableRow> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 51 | <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 Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 54 | </TableRow> |
| 55 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 56 | <TableRow> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 57 | <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 Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 60 | </TableRow> |
| 61 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 62 | <TableRow> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 63 | <com.android.dialer.dialpad.DialpadKeyButton |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 64 | android:id="@+id/star" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 65 | 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 Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 75 | </com.android.dialer.dialpad.DialpadKeyButton> |
| 76 | <include layout="@layout/dialpad_key" android:id="@+id/zero"/> |
| 77 | <com.android.dialer.dialpad.DialpadKeyButton |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 78 | android:id="@+id/pound" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 79 | 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 Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 89 | </com.android.dialer.dialpad.DialpadKeyButton> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 90 | </TableRow> |
| 91 | </TableLayout> |