Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3  Copyright (C) 2008,2009  OMRON SOFTWARE Co., Ltd.
      4 
      5  Licensed under the Apache License, Version 2.0 (the "License");
      6  you may not use this file except in compliance with the License.
      7  You may obtain a copy of the License at
      8 
      9       http://www.apache.org/licenses/LICENSE-2.0
     10 
     11  Unless required by applicable law or agreed to in writing, software
     12  distributed under the License is distributed on an "AS IS" BASIS,
     13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  See the License for the specific language governing permissions and
     15  limitations under the License.
     16 -->
     17 <Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
     18 	  android:keyWidth="10%p"
     19 	  android:horizontalGap="0dip"
     20 	  android:verticalGap="0dip"
     21 	  android:keyHeight="@dimen/key_height"
     22 	  >
     23   
     24   <Row>
     25     <Key android:codes="113" android:keyLabel="q" android:keyEdgeFlags="left"/>
     26     <Key android:codes="119" android:keyLabel="w"/>
     27     <Key android:codes="101" android:keyLabel="e"/>
     28     <Key android:codes="114" android:keyLabel="r"/>
     29     <Key android:codes="116" android:keyLabel="t"/>
     30     <Key android:codes="121" android:keyLabel="y"/>
     31     <Key android:codes="117" android:keyLabel="u"/>
     32     <Key android:codes="105" android:keyLabel="i"/>
     33     <Key android:codes="111" android:keyLabel="o"/>
     34     <Key android:codes="112" android:keyLabel="p" android:keyEdgeFlags="right"/>
     35   </Row>
     36   
     37   <Row>
     38     <Key android:codes="97"  android:keyLabel="a" android:keyEdgeFlags="left"/>
     39     <Key android:codes="115" android:keyLabel="s"/>
     40     <Key android:codes="100" android:keyLabel="d"/>
     41     <Key android:codes="102" android:keyLabel="f"/>
     42     <Key android:codes="103" android:keyLabel="g"/>
     43     <Key android:codes="104" android:keyLabel="h"/>
     44     <Key android:codes="106" android:keyLabel="j"/>
     45     <Key android:codes="107" android:keyLabel="k"/>
     46     <Key android:codes="108" android:keyLabel="l"/>
     47     <Key android:codes="65392" android:keyLabel="@string/key_qwerty_half_tyouon"
     48          android:keyEdgeFlags="right"/>
     49   </Row>
     50   
     51   <Row>
     52     <Key android:codes="-1" android:keyIcon="@drawable/key_qwerty_shift" android:iconPreview="@drawable/key_qwerty_shift_b" android:keyWidth="15%p"
     53          android:isModifier="true" android:isSticky="false" android:keyEdgeFlags="left"/>
     54     <Key android:codes="122" android:keyLabel="z"/>
     55     <Key android:codes="120" android:keyLabel="x"/>
     56     <Key android:codes="99" android:keyLabel="c"/>
     57     <Key android:codes="118" android:keyLabel="v"/>
     58     <Key android:codes="98" android:keyLabel="b"/>
     59     <Key android:codes="110" android:keyLabel="n"/>
     60     <Key android:codes="109" android:keyLabel="m"/>
     61     <Key android:codes="-100" android:keyIcon="@drawable/key_qwerty_del" android:iconPreview="@drawable/key_qwerty_del_b" android:keyWidth="15%p" 
     62          android:keyEdgeFlags="right" android:isRepeatable="true"/>
     63   </Row>
     64   
     65   <Row android:rowEdgeFlags="bottom">
     66     <Key android:codes="-230" android:keyIcon="@drawable/key_qwerty_mode_half_kata" android:iconPreview="@drawable/key_mode_change_b"
     67 	 android:popupKeyboard="@xml/keyboard_switch_key_qwerty_jp"
     68          android:keyWidth="15%p" android:keyEdgeFlags="left"/>
     69     <Key android:codes="-106" android:keyIcon="@drawable/key_qwerty_pict_sym" android:iconPreview="@drawable/key_qwerty_pict_sym_b"
     70          android:keyWidth="15%p"/>
     71     <Key android:codes="32" android:keyIcon="@drawable/key_qwerty_space" android:iconPreview="@drawable/key_qwerty_space_b" 
     72          android:keyWidth="30%p" android:isRepeatable="true"/>
     73     <Key android:codes="33" android:keyLabel="!"
     74          android:keyWidth="12.5%p"/>
     75     <Key android:codes="63" android:keyLabel="\?"
     76          android:keyWidth="12.5%p"/>
     77     <Key android:codes="-101" android:keyIcon="@drawable/key_qwerty_enter_jp" android:iconPreview="@drawable/key_qwerty_enter_jp_b" 
     78          android:keyWidth="15%p" android:keyEdgeFlags="right"/>
     79   </Row>
     80 </Keyboard>
     81