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" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 25 | android:stretchColumns="*" |
Fabrice Di Meglio | c341db0 | 2013-04-03 21:11:37 -0700 | [diff] [blame] | 26 | android:layoutDirection="ltr" > |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 27 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 28 | <TableRow> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 29 | <com.android.dialer.dialpad.DialpadKeyButton |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 30 | android:id="@+id/one" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 31 | style="@style/DialpadKeyButtonStyle"> |
Yorke Lee | 7784087 | 2013-09-06 12:08:08 -0700 | [diff] [blame] | 32 | <LinearLayout |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 33 | style="@style/DialpadKeyInternalLayoutStyle"> |
Yorke Lee | 7784087 | 2013-09-06 12:08:08 -0700 | [diff] [blame] | 34 | <TextView |
| 35 | android:id="@+id/dialpad_key_number" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 36 | style="@style/DialpadKeyNumberStyle"/> |
Yorke Lee | 7784087 | 2013-09-06 12:08:08 -0700 | [diff] [blame] | 37 | <ImageView |
| 38 | android:id="@+id/dialpad_key_voicemail" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 39 | style="@style/DialpadKeyLettersStyle" |
Yorke Lee | 7784087 | 2013-09-06 12:08:08 -0700 | [diff] [blame] | 40 | android:src="@drawable/ic_dial_action_vm" |
Yorke Lee | 7784087 | 2013-09-06 12:08:08 -0700 | [diff] [blame] | 41 | android:scaleType="fitStart" |
| 42 | android:baselineAlignBottom="true" /> |
| 43 | </LinearLayout> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 44 | </com.android.dialer.dialpad.DialpadKeyButton> |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame^] | 45 | <include layout="@layout/dialpad_key" |
| 46 | android:id="@+id/two" |
| 47 | style="@style/DialpadKeyButtonStyle" /> |
| 48 | <include layout="@layout/dialpad_key" |
| 49 | android:id="@+id/three" |
| 50 | style="@style/DialpadKeyButtonStyle" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 51 | </TableRow> |
| 52 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 53 | <TableRow> |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame^] | 54 | <include layout="@layout/dialpad_key" |
| 55 | android:id="@+id/four" |
| 56 | style="@style/DialpadKeyButtonStyle" /> |
| 57 | <include layout="@layout/dialpad_key" |
| 58 | android:id="@+id/five" |
| 59 | style="@style/DialpadKeyButtonStyle" /> |
| 60 | <include layout="@layout/dialpad_key" |
| 61 | android:id="@+id/six" |
| 62 | style="@style/DialpadKeyButtonStyle" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 63 | </TableRow> |
| 64 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 65 | <TableRow> |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame^] | 66 | <include layout="@layout/dialpad_key" |
| 67 | android:id="@+id/seven" |
| 68 | style="@style/DialpadKeyButtonStyle" /> |
| 69 | <include layout="@layout/dialpad_key" |
| 70 | android:id="@+id/eight" |
| 71 | style="@style/DialpadKeyButtonStyle" /> |
| 72 | <include layout="@layout/dialpad_key" |
| 73 | android:id="@+id/nine" |
| 74 | style="@style/DialpadKeyButtonStyle" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 75 | </TableRow> |
| 76 | |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 77 | <TableRow> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 78 | <com.android.dialer.dialpad.DialpadKeyButton |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 79 | android:id="@+id/star" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 80 | style="@style/DialpadKeyButtonStyle"> |
| 81 | <LinearLayout |
| 82 | style="@style/DialpadKeyInternalLayoutStyle"> |
| 83 | <TextView |
| 84 | android:id="@id/dialpad_key_number" |
| 85 | style="@style/DialpadKeyStarPoundStyle" /> |
| 86 | <View |
| 87 | android:layout_height="match_parent" |
| 88 | android:layout_width="@dimen/dialpad_key_letters_width" /> |
| 89 | </LinearLayout> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 90 | </com.android.dialer.dialpad.DialpadKeyButton> |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame^] | 91 | <include layout="@layout/dialpad_key" |
| 92 | android:id="@+id/zero" |
| 93 | style="@style/DialpadKeyButtonStyle" /> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 94 | <com.android.dialer.dialpad.DialpadKeyButton |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 95 | android:id="@+id/pound" |
Ihab Awad | 526c0b8 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 96 | style="@style/DialpadKeyButtonStyle"> |
| 97 | <LinearLayout |
| 98 | style="@style/DialpadKeyInternalLayoutStyle"> |
| 99 | <TextView |
| 100 | android:id="@id/dialpad_key_number" |
| 101 | style="@style/DialpadKeyStarPoundStyle" /> |
| 102 | <View |
| 103 | android:layout_height="match_parent" |
| 104 | android:layout_width="@dimen/dialpad_key_letters_width" /> |
| 105 | </LinearLayout> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 106 | </com.android.dialer.dialpad.DialpadKeyButton> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 107 | </TableRow> |
Yorke Lee | a5d5cdf | 2014-04-22 17:20:00 -0700 | [diff] [blame^] | 108 | |
| 109 | <TableRow> |
| 110 | <FrameLayout |
| 111 | android:id="@+id/dialpad_add_contact" |
| 112 | android:contentDescription="@string/description_add_contact" |
| 113 | style="@style/DialpadBottomKeyButtonStyle" |
| 114 | android:visibility="invisible" |
| 115 | > |
| 116 | <ImageView |
| 117 | android:src="@drawable/ic_add_person_dk" |
| 118 | android:importantForAccessibility="no" |
| 119 | android:paddingRight="@dimen/dialpad_key_letters_width" |
| 120 | style="@style/DialpadKeyInternalLayoutStyle" |
| 121 | /> |
| 122 | </FrameLayout> |
| 123 | <Space |
| 124 | style="@style/DialpadBottomKeyButtonStyle" |
| 125 | /> |
| 126 | <FrameLayout |
| 127 | android:id="@+id/dialpad_overflow" |
| 128 | android:contentDescription="@string/description_dialpad_overflow" |
| 129 | style="@style/DialpadBottomKeyButtonStyle" |
| 130 | > |
| 131 | <ImageView |
| 132 | android:src="@drawable/ic_overflow_menu" |
| 133 | android:importantForAccessibility="no" |
| 134 | android:paddingRight="@dimen/dialpad_key_letters_width" |
| 135 | style="@style/DialpadKeyInternalLayoutStyle" |
| 136 | /> |
| 137 | </FrameLayout> |
| 138 | </TableRow> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 139 | </TableLayout> |