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 | 3eb8215 | 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 | 3eb8215 | 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 | 3eb8215 | 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 | 3eb8215 | 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 | 3eb8215 | 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 | 3eb8215 | 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 | 3eb8215 | 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> |
| 45 | <include layout="@layout/dialpad_key" android:id="@+id/two"/> |
| 46 | <include layout="@layout/dialpad_key" android:id="@+id/three"/> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 47 | </TableRow> |
| 48 | |
Ihab Awad | 3eb8215 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 49 | <TableRow> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 50 | <include layout="@layout/dialpad_key" android:id="@+id/four"/> |
| 51 | <include layout="@layout/dialpad_key" android:id="@+id/five"/> |
| 52 | <include layout="@layout/dialpad_key" android:id="@+id/six"/> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 53 | </TableRow> |
| 54 | |
Ihab Awad | 3eb8215 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 55 | <TableRow> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 56 | <include layout="@layout/dialpad_key" android:id="@+id/seven"/> |
| 57 | <include layout="@layout/dialpad_key" android:id="@+id/eight"/> |
| 58 | <include layout="@layout/dialpad_key" android:id="@+id/nine"/> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 59 | </TableRow> |
| 60 | |
Ihab Awad | 3eb8215 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 61 | <TableRow> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 62 | <com.android.dialer.dialpad.DialpadKeyButton |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 63 | android:id="@+id/star" |
Ihab Awad | 3eb8215 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 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> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 74 | </com.android.dialer.dialpad.DialpadKeyButton> |
| 75 | <include layout="@layout/dialpad_key" android:id="@+id/zero"/> |
| 76 | <com.android.dialer.dialpad.DialpadKeyButton |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 77 | android:id="@+id/pound" |
Ihab Awad | 3eb8215 | 2014-02-27 12:55:36 -0800 | [diff] [blame] | 78 | style="@style/DialpadKeyButtonStyle"> |
| 79 | <LinearLayout |
| 80 | style="@style/DialpadKeyInternalLayoutStyle"> |
| 81 | <TextView |
| 82 | android:id="@id/dialpad_key_number" |
| 83 | style="@style/DialpadKeyStarPoundStyle" /> |
| 84 | <View |
| 85 | android:layout_height="match_parent" |
| 86 | android:layout_width="@dimen/dialpad_key_letters_width" /> |
| 87 | </LinearLayout> |
Yorke Lee | 8898cd0 | 2013-08-08 10:24:27 -0700 | [diff] [blame] | 88 | </com.android.dialer.dialpad.DialpadKeyButton> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 89 | </TableRow> |
| 90 | </TableLayout> |