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