Home | History | Annotate | Download | only in xml
      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="1"
     27             latin:keyStyle="numKeyStyle" />
     28         <Key
     29             latin:keyLabel="2"
     30             latin:keyStyle="numKeyStyle" />
     31         <Key
     32             latin:keyLabel="3"
     33             latin:keyStyle="numKeyStyle" />
     34         <Key
     35             latin:keyLabel="-"
     36             latin:moreKeys="+"
     37             latin:keyLabelFlags="hasPopupHint"
     38             latin:keyStyle="numFunctionalKeyStyle"
     39             latin:keyWidth="fillRight" />
     40     </Row>
     41     <Row>
     42         <Key
     43             latin:keyLabel="4"
     44             latin:keyStyle="numKeyStyle" />
     45         <Key
     46             latin:keyLabel="5"
     47             latin:keyStyle="numKeyStyle" />
     48         <Key
     49             latin:keyLabel="6"
     50             latin:keyStyle="numKeyStyle" />
     51         <switch>
     52             <case
     53                 latin:mode="date"
     54             >
     55                 <Key
     56                     latin:keyLabel="."
     57                     latin:keyStyle="numFunctionalKeyStyle"
     58                     latin:keyWidth="fillRight" />
     59             </case>
     60             <case
     61                 latin:mode="time|datetime"
     62             >
     63                 <Key
     64                     latin:keyLabel="."
     65                     latin:keyLabelFlags="hasPopupHint"
     66                     latin:moreKeys="!text/more_keys_for_am_pm"
     67                     latin:keyStyle="numFunctionalKeyStyle"
     68                     latin:keyWidth="fillRight" />
     69             </case>
     70             <default>
     71                 <Key
     72                     latin:keyLabel=","
     73                     latin:keyStyle="numFunctionalKeyStyle"
     74                     latin:keyWidth="fillRight" />
     75             </default>
     76         </switch>
     77     </Row>
     78     <Row>
     79         <Key
     80             latin:keyLabel="7"
     81             latin:keyStyle="numKeyStyle" />
     82         <Key
     83             latin:keyLabel="8"
     84             latin:keyStyle="numKeyStyle"/>
     85         <Key
     86             latin:keyLabel="9"
     87             latin:keyStyle="numKeyStyle" />
     88         <Key
     89             latin:keyStyle="deleteKeyStyle"
     90             latin:keyWidth="fillRight" />
     91     </Row>
     92     <Row>
     93         <Key
     94             latin:keyStyle="numSpaceKeyStyle" />
     95         <Key
     96             latin:keyLabel="0"
     97             latin:keyStyle="numKeyStyle" />
     98         <switch>
     99             <case
    100                 latin:mode="date"
    101             >
    102                 <Key
    103                     latin:keyLabel="/"
    104                     latin:keyStyle="numKeyStyle" />
    105             </case>
    106             <case
    107                 latin:mode="time"
    108             >
    109                 <Key
    110                     latin:keyLabel=":"
    111                     latin:keyStyle="numKeyStyle" />
    112             </case>
    113             <case
    114                 latin:mode="datetime"
    115             >
    116                 <!-- U+002F: "/" SOLIDUS -->
    117                 <Key
    118                     latin:code="0x002F"
    119                     latin:keyLabel="/ :"
    120                     latin:moreKeys="!noPanelAutoMoreKey!,:"
    121                     latin:keyStyle="numKeyStyle" />
    122             </case>
    123             <default>
    124                 <Key
    125                     latin:keyLabel="."
    126                     latin:keyStyle="numKeyStyle" />
    127             </default>
    128         </switch>
    129         <Key
    130             latin:keyStyle="enterKeyStyle"
    131             latin:keyWidth="fillRight" />
    132     </Row>
    133 </merge>
    134