Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /* 
      4 **
      5 ** Copyright 2008, The Android Open Source Project
      6 **
      7 ** Licensed under the Apache License, Version 2.0 (the "License"); 
      8 ** you may not use this file except in compliance with the License. 
      9 ** You may obtain a copy of the License at 
     10 **
     11 **     http://www.apache.org/licenses/LICENSE-2.0 
     12 **
     13 ** Unless required by applicable law or agreed to in writing, software 
     14 ** distributed under the License is distributed on an "AS IS" BASIS, 
     15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
     16 ** See the License for the specific language governing permissions and 
     17 ** limitations under the License.
     18 */
     19 -->
     20 
     21 <Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
     22     android:keyWidth="26.67%p"
     23     android:horizontalGap="0px"
     24     android:verticalGap="0px"
     25     android:keyHeight="@dimen/key_height"
     26     >
     27 
     28     <Row>
     29         <Key android:keyLabel="(" android:keyEdgeFlags="left"/>
     30         <Key android:keyLabel="/"/>
     31         <Key android:keyLabel=")"/>
     32         <Key android:keyLabel="-" android:keyWidth="20%p" android:keyEdgeFlags="right"/>
     33     </Row>
     34 
     35     <Row>
     36         <Key android:keyLabel="N" android:keyEdgeFlags="left"/>
     37         <!-- Pause is a comma. 
     38                 Check PhoneNumberUtils.java to see if this has changed. -->
     39         <Key android:codes="44" android:keyLabel="Pause"/>
     40         <Key android:keyLabel=","/>
     41         <Key android:keyLabel="." android:keyWidth="20%p" android:keyEdgeFlags="right"/>
     42     </Row>
     43     
     44     <Row>
     45         <Key android:codes="42" android:keyIcon="@drawable/sym_keyboard_numstar"
     46                 android:keyEdgeFlags="left"/>
     47         <!-- Wait is a semicolon. -->
     48         <Key android:codes="59" android:keyLabel="Wait"/>
     49         <Key android:codes="35" android:keyIcon="@drawable/sym_keyboard_numpound"/>
     50         <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" 
     51                 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
     52                 android:keyWidth="20%p"
     53                 android:isRepeatable="true" android:keyEdgeFlags="right"/>
     54     </Row>
     55     
     56     <Row android:rowEdgeFlags="bottom">
     57         <Key android:codes="-2" android:keyLabel="@string/label_phone_key" 
     58                 android:popupKeyboard="@xml/kbd_popup_template"
     59                 android:popupCharacters="_"
     60                 android:keyEdgeFlags="left"/>
     61         <Key android:keyLabel="+"/>
     62         <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" 
     63                 android:iconPreview="@drawable/sym_keyboard_feedback_space"
     64                 android:isRepeatable="true"/>
     65         <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
     66                 android:keyWidth="20%p"
     67                 android:keyEdgeFlags="right"/>
     68     </Row>
     69     
     70 </Keyboard>