Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2010, 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
     22     xmlns:android="http://schemas.android.com/apk/res/android"
     23     android:keyWidth="26.67%p"
     24     android:horizontalGap="0px"
     25     android:verticalGap="@dimen/key_bottom_gap"
     26     android:keyHeight="@dimen/key_height"
     27 >
     28     <Row
     29         android:rowEdgeFlags="top"
     30     >
     31         <Key
     32             android:codes="49"
     33             android:keyIcon="@drawable/sym_bkeyboard_num1"
     34             android:keyEdgeFlags="left" />
     35         <Key
     36             android:codes="50"
     37             android:keyIcon="@drawable/sym_bkeyboard_num2" />
     38         <Key
     39             android:codes="51"
     40             android:keyIcon="@drawable/sym_bkeyboard_num3" />
     41         <Key
     42             android:keyLabel="-"
     43             android:keyWidth="20%p"
     44             android:keyEdgeFlags="right" />
     45     </Row>
     46     <Row>
     47         <Key
     48             android:codes="52"
     49             android:keyIcon="@drawable/sym_bkeyboard_num4"
     50             android:keyEdgeFlags="left" />
     51         <Key
     52             android:codes="53"
     53             android:keyIcon="@drawable/sym_bkeyboard_num5" />
     54         <Key
     55             android:codes="54"
     56             android:keyIcon="@drawable/sym_bkeyboard_num6" />
     57         <Key
     58             android:keyLabel="."
     59             android:keyWidth="20%p"
     60             android:keyEdgeFlags="right" />
     61     </Row>
     62     <Row>
     63         <Key
     64             android:codes="55"
     65             android:keyIcon="@drawable/sym_bkeyboard_num7"
     66             android:keyEdgeFlags="left" />
     67         <Key
     68             android:codes="56"
     69             android:keyIcon="@drawable/sym_bkeyboard_num8" />
     70         <Key
     71             android:codes="57"
     72             android:keyIcon="@drawable/sym_bkeyboard_num9" />
     73         <Key
     74             android:codes="@integer/key_delete"
     75             android:keyIcon="@drawable/sym_bkeyboard_delete"
     76             android:iconPreview="@drawable/sym_keyboard_feedback_delete"
     77             android:keyWidth="20%p"
     78             android:isRepeatable="true"
     79             android:keyEdgeFlags="right" />
     80     </Row>
     81     <Row
     82         android:rowEdgeFlags="bottom"
     83     >
     84         <Key
     85             android:codes="@integer/key_symbol"
     86             android:keyIcon="@drawable/sym_bkeyboard_numalt"
     87             android:iconPreview="@drawable/sym_keyboard_feedback_numalt" />
     88         <Key
     89             android:codes="48"
     90             android:keyIcon="@drawable/sym_bkeyboard_num0" />
     91         <Key
     92             android:codes="@integer/key_space"
     93             android:keyIcon="@drawable/sym_bkeyboard_space"
     94             android:iconPreview="@drawable/sym_keyboard_feedback_space" />
     95         <Key
     96             android:codes="@integer/key_return"
     97             android:keyIcon="@drawable/sym_bkeyboard_return"
     98             android:keyWidth="20%p"
     99             android:keyEdgeFlags="right" />
    100     </Row>
    101 </Keyboard>
    102