Nicolas Catania | 53f94fc | 2009-09-28 23:03:33 -0700 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2009 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 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:id="@+id/top" |
| 19 | android:layout_width="fill_parent" |
| 20 | android:layout_height="fill_parent" |
| 21 | android:orientation="vertical" |
| 22 | > |
| 23 | |
| 24 | <!-- Text field above the keypad where the digits are displayed --> |
| 25 | <!-- TODO: Use a textAppearance to control the display of the number --> |
| 26 | <EditText android:id="@+id/digits" |
| 27 | android:layout_width="fill_parent" |
| 28 | android:layout_height="74dip" |
| 29 | android:layout_marginBottom="20dip" |
| 30 | android:gravity="center" |
| 31 | android:maxLines="1" |
| 32 | android:scrollHorizontally="true" |
| 33 | android:textSize="34sp" |
| 34 | android:freezesText="true" |
| 35 | android:background="@drawable/btn_dial_textfield" |
| 36 | android:textColor="@color/dialer_button_text" |
| 37 | android:focusableInTouchMode="false" |
| 38 | /> |
| 39 | |
| 40 | <!-- Keypad section --> |
| 41 | <include layout="@layout/dialpad" /> |
| 42 | |
| 43 | <!-- Horizontal row of buttons (Voicemail + DialButton + Delete.) --> |
| 44 | <include layout="@layout/voicemail_dial_delete" /> |
| 45 | |
| 46 | <!-- "Dialpad chooser" UI, shown only when the user brings up the |
| 47 | Dialer while a call is already in progress. |
| 48 | When this UI is visible, the other Dialer elements |
| 49 | (the textfield/button and the dialpad) are hidden. --> |
| 50 | <ListView android:id="@+id/dialpadChooser" |
| 51 | android:layout_width="fill_parent" |
| 52 | android:layout_height="1dip" |
| 53 | android:layout_weight="1" |
| 54 | /> |
| 55 | |
| 56 | </LinearLayout> |