Home | History | Annotate | Download | only in layout-long-finger
      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="match_parent"
     20     android:layout_height="match_parent"
     21     android:orientation="vertical"
     22 >
     23 
     24     <!-- Text field above the keypad where the digits are displayed.
     25          It's type is set to NULL (to disable the IME keyboard) in the
     26          java code.
     27     -->
     28     <!-- TODO: Use a textAppearance to control the display of the number -->
     29     <EditText android:id="@+id/digits"
     30         android:layout_width="match_parent"
     31         android:layout_height="74dip"
     32         android:gravity="center"
     33         android:maxLines="1"
     34         android:scrollHorizontally="true"
     35         android:textSize="34sp"
     36         android:freezesText="true"
     37         android:background="@drawable/btn_dial_textfield"
     38         android:textColor="@color/dialer_button_text"
     39         android:focusableInTouchMode="true"
     40         android:editable="true"
     41         android:cursorVisible="false"
     42         android:layout_weight="0"
     43     />
     44 
     45     <!-- Keypad section -->
     46     <include layout="@layout/dialpad" />
     47 
     48     <!-- Horizontal row of buttons (Voicemail + DialButton + Delete.) -->
     49     <include layout="@layout/voicemail_dial_delete" />
     50 
     51     <!-- "Dialpad chooser" UI, shown only when the user brings up the
     52          Dialer while a call is already in progress.
     53          When this UI is visible, the other Dialer elements
     54          (the textfield/button and the dialpad) are hidden. -->
     55     <ListView android:id="@+id/dialpadChooser"
     56         android:layout_width="match_parent"
     57         android:layout_height="1dip"
     58         android:layout_weight="1"
     59     />
     60 
     61 </LinearLayout>
     62