Home | History | Annotate | Download | only in xml-sw768dp
      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:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
     23     latin:keyWidth="13.250%p"
     24 >
     25     <include
     26         latin:keyboardLayout="@xml/kbd_key_styles" />
     27     <include
     28         latin:keyboardLayout="@xml/kbd_numkey_styles" />
     29     <Row>
     30         <Key
     31             latin:keyStyle="tabKeyStyle"
     32             latin:keyLabelOption="alignLeft"
     33             latin:keyWidth="11.172%p" />
     34         <Key
     35             latin:keyLabel="-"
     36             latin:keyStyle="numKeyStyle"
     37             latin:keyXPos="20.400%p"
     38             latin:keyWidth="8.047%p" />
     39         <Key
     40             latin:keyLabel="+"
     41             latin:keyStyle="numKeyStyle"
     42             latin:keyWidth="8.047%p" />
     43         <Key
     44             latin:keyStyle="num1KeyStyle"
     45             latin:keyXPos="43.125%p" />
     46         <Key
     47             latin:keyStyle="num2KeyStyle" />
     48         <Key
     49             latin:keyStyle="num3KeyStyle" />
     50         <Key
     51             latin:keyStyle="deleteKeyStyle"
     52             latin:keyXPos="-11.172%p"
     53             latin:keyWidth="fillRight" />
     54     </Row>
     55     <Row>
     56         <Key
     57             latin:keyStyle="toMoreSymbolKeyStyle"
     58             latin:keyWidth="11.172%p" />
     59         <Key
     60             latin:keyLabel=","
     61             latin:keyStyle="numKeyStyle"
     62             latin:keyXPos="20.400%p"
     63             latin:keyWidth="8.047%p" />
     64         <Key
     65             latin:keyLabel="."
     66             latin:keyStyle="numKeyStyle"
     67             latin:keyWidth="8.047%p" />
     68         <Key
     69             latin:keyStyle="num4KeyStyle"
     70             latin:keyXPos="43.125%p" />
     71         <Key
     72             latin:keyStyle="num5KeyStyle" />
     73         <Key
     74             latin:keyStyle="num6KeyStyle" />
     75         <Key
     76             latin:keyStyle="returnKeyStyle"
     77             latin:keyXPos="-11.172%p"
     78             latin:keyWidth="fillRight" />
     79     </Row>
     80     <Row>
     81         <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
     82         <Spacer
     83             latin:keyWidth="20.400%p" />
     84         <Key
     85             latin:keyLabel="("
     86             latin:keyStyle="numKeyStyle"
     87             latin:keyWidth="8.047%p" />
     88         <Key
     89             latin:keyLabel=")"
     90             latin:keyStyle="numKeyStyle"
     91             latin:keyWidth="8.047%p" />
     92         <Key
     93             latin:keyStyle="num7KeyStyle"
     94             latin:keyXPos="43.125%p" />
     95         <Key
     96             latin:keyStyle="num8KeyStyle" />
     97         <Key
     98             latin:keyStyle="num9KeyStyle" />
     99         <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
    100         <Spacer
    101             latin:keyWidth="0%p" />
    102         </Row>
    103     <Row>
    104         <switch>
    105             <case latin:hasSettingsKey="true">
    106                 <Key
    107                     latin:keyStyle="settingsKeyStyle"
    108                     latin:keyWidth="8.047%p" />
    109             </case>
    110             <default>
    111                 <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
    112                 <Spacer
    113                     latin:keyWidth="8.047%p" />
    114             </default>
    115         </switch>
    116         <Key
    117             latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
    118             latin:keyXPos="20.400%p"
    119             latin:keyWidth="16.084%p" />
    120         <Key
    121             latin:keyStyle="numStarKeyStyle"
    122             latin:keyXPos="43.125%p" />
    123         <Key
    124             latin:keyStyle="num0KeyStyle" />
    125         <Key
    126             latin:keyLabel="#"
    127             latin:keyStyle="numKeyStyle" />
    128         <switch>
    129             <case
    130                 latin:shortcutKeyEnabled="true"
    131             >
    132                 <Key
    133                     latin:keyStyle="shortcutKeyStyle"
    134                     latin:keyXPos="-8.047%p"
    135                     latin:keyWidth="fillRight" />
    136             </case>
    137             <default>
    138                 <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
    139                 <Spacer
    140                     latin:keyWidth="0%p" />
    141             </default>
    142         </switch>
    143     </Row>
    144 </Keyboard>
    145