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 <Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
     21     android:keyWidth="26.67%p"
     22     android:horizontalGap="0px"
     23     android:verticalGap="0px"
     24     android:keyHeight="@dimen/key_height"
     25     >
     26 
     27     <Row>
     28         <Key android:codes="49" android:keyIcon="@drawable/sym_keyboard_num1" android:keyEdgeFlags="left"/>
     29         <Key android:codes="50" android:keyIcon="@drawable/sym_keyboard_num2"/>
     30         <Key android:codes="51" android:keyIcon="@drawable/sym_keyboard_num3"/>
     31         <Key android:keyLabel="-" android:keyWidth="20%p" android:keyEdgeFlags="right"/>
     32     </Row>
     33 
     34     <Row>
     35         <Key android:codes="52" android:keyIcon="@drawable/sym_keyboard_num4" android:keyEdgeFlags="left"/>
     36         <Key android:codes="53" android:keyIcon="@drawable/sym_keyboard_num5"/>
     37         <Key android:codes="54" android:keyIcon="@drawable/sym_keyboard_num6"/>
     38         <Key android:keyLabel="." android:keyWidth="20%p" android:keyEdgeFlags="right"/>
     39     </Row>
     40     
     41     <Row>
     42         <Key android:codes="55" android:keyIcon="@drawable/sym_keyboard_num7" android:keyEdgeFlags="left"/>
     43         <Key android:codes="56" android:keyIcon="@drawable/sym_keyboard_num8"/>
     44         <Key android:codes="57" android:keyIcon="@drawable/sym_keyboard_num9"/>
     45         <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" 
     46                 android:iconPreview="@drawable/sym_keyboard_feedback_delete"
     47                 android:keyWidth="20%p"
     48                 android:isRepeatable="true" android:keyEdgeFlags="right"/>
     49     </Row>
     50     
     51     <Row android:rowEdgeFlags="bottom">
     52         <Key android:codes="-2" android:keyIcon="@drawable/sym_keyboard_numalt"
     53                 android:popupKeyboard="@xml/kbd_popup_template"
     54                 android:popupCharacters="_"
     55                 android:iconPreview="@drawable/sym_keyboard_feedback_numalt"/>
     56 
     57         <Key android:codes="48" android:keyIcon="@drawable/sym_keyboard_num0"/>
     58 
     59         <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" 
     60                 android:iconPreview="@drawable/sym_keyboard_feedback_space"
     61                 android:isRepeatable="true"/>
     62         <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return"
     63                 android:keyWidth="20%p"
     64                 android:keyEdgeFlags="right"/>
     65     </Row>
     66     
     67 </Keyboard>