Home | History | Annotate | Download | only in xml-sw768dp
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2012, 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 <merge
     22     xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
     23 >
     24     <Row>
     25         <Key
     26             latin:keyStyle="tabKeyStyle"
     27             latin:keyLabelFlags="alignLeft"
     28             latin:keyWidth="11.172%p" />
     29         <Key
     30             latin:keyLabel="-"
     31             latin:keyStyle="numKeyStyle"
     32             latin:keyXPos="13.829%p"
     33             latin:keyWidth="8.047%p"
     34             latin:backgroundType="functional" />
     35         <Key
     36             latin:keyLabel="+"
     37             latin:keyStyle="numKeyStyle"
     38             latin:keyWidth="8.047%p"
     39             latin:backgroundType="functional" />
     40         <Key
     41             latin:keyLabel="."
     42             latin:keyStyle="numKeyStyle"
     43             latin:keyWidth="8.047%p"
     44             latin:backgroundType="functional" />
     45         <Key
     46             latin:keyLabel="1"
     47             latin:keyStyle="numKeyStyle"
     48             latin:keyXPos="43.125%p" />
     49         <Key
     50             latin:keyLabel="2"
     51             latin:keyStyle="numKeyStyle" />
     52         <Key
     53             latin:keyLabel="3"
     54             latin:keyStyle="numKeyStyle" />
     55         <Key
     56             latin:keyStyle="deleteKeyStyle"
     57             latin:keyXPos="-11.172%p"
     58             latin:keyWidth="fillRight" />
     59     </Row>
     60     <Row>
     61         <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
     62         <Spacer
     63             latin:keyWidth="13.829%p" />
     64         <Key
     65             latin:keyStyle="numStarKeyStyle"
     66             latin:keyWidth="8.047%p"
     67             latin:backgroundType="functional" />
     68         <Key
     69             latin:keyLabel="/"
     70             latin:keyStyle="numKeyStyle"
     71             latin:keyWidth="8.047%p"
     72             latin:backgroundType="functional" />
     73         <switch>
     74             <case
     75                 latin:mode="time|datetime"
     76             >
     77                 <Key
     78                     latin:keyLabel=","
     79                     latin:keyLabelFlags="hasPopupHint"
     80                     latin:moreKeys="!text/more_keys_for_am_pm"
     81                     latin:keyStyle="numKeyStyle"
     82                     latin:keyWidth="8.047%p"
     83                     latin:backgroundType="functional" />
     84             </case>
     85             <default>
     86                 <Key
     87                     latin:keyLabel=","
     88                     latin:keyStyle="numKeyStyle"
     89                     latin:keyWidth="8.047%p"
     90                     latin:backgroundType="functional" />
     91             </default>
     92         </switch>
     93         <Key
     94             latin:keyLabel="4"
     95             latin:keyStyle="numKeyStyle"
     96             latin:keyXPos="43.125%p" />
     97         <Key
     98             latin:keyLabel="5"
     99             latin:keyStyle="numKeyStyle" />
    100         <Key
    101             latin:keyLabel="6"
    102             latin:keyStyle="numKeyStyle" />
    103         <Key
    104             latin:keyStyle="enterKeyStyle"
    105             latin:keyXPos="-11.172%p"
    106             latin:keyWidth="fillRight" />
    107     </Row>
    108     <Row>
    109         <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
    110         <Spacer
    111             latin:keyWidth="13.829%p" />
    112         <Key
    113             latin:keyLabel="("
    114             latin:keyStyle="numKeyStyle"
    115             latin:keyWidth="8.047%p"
    116             latin:backgroundType="functional" />
    117         <Key
    118             latin:keyLabel=")"
    119             latin:keyStyle="numKeyStyle"
    120             latin:keyWidth="8.047%p"
    121             latin:backgroundType="functional" />
    122         <switch>
    123             <case
    124                 latin:mode="time|datetime"
    125             >
    126                 <Key
    127                     latin:keyLabel=":"
    128                     latin:keyStyle="numKeyStyle"
    129                     latin:keyWidth="8.047%p"
    130                     latin:backgroundType="functional" />
    131             </case>
    132             <default>
    133                 <Key
    134                     latin:keyLabel="="
    135                     latin:keyStyle="numKeyStyle"
    136                     latin:keyWidth="8.047%p"
    137                     latin:backgroundType="functional" />
    138             </default>
    139         </switch>
    140         <Key
    141             latin:keyLabel="7"
    142             latin:keyStyle="numKeyStyle"
    143             latin:keyXPos="43.125%p" />
    144         <Key
    145             latin:keyLabel="8"
    146             latin:keyStyle="numKeyStyle" />
    147         <Key
    148             latin:keyLabel="9"
    149             latin:keyStyle="numKeyStyle" />
    150         <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
    151         <Spacer />
    152     </Row>
    153     <Row>
    154         <include
    155             latin:keyboardLayout="@xml/key_settings"
    156             latin:keyWidth="8.047%p" />
    157         <Key
    158             latin:keyStyle="spaceKeyStyle"
    159             latin:keyXPos="13.829%p"
    160             latin:keyWidth="24.140%p"
    161             latin:backgroundType="functional" />
    162         <Key
    163             latin:keyStyle="numStarKeyStyle"
    164             latin:keyXPos="43.125%p" />
    165         <Key
    166             latin:keyLabel="0"
    167             latin:keyStyle="numKeyStyle" />
    168         <Key
    169             latin:keyLabel="#"
    170             latin:keyStyle="numKeyStyle" />
    171     </Row>
    172 </merge>
    173