Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2013, 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     <switch>
     25         <case
     26             latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
     27         >
     28             <!-- U+0924/U+094D/U+0924: "" DEVANAGARI LETTER TA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TA
     29                  U+091E: "" DEVANAGARI LETTER NYA
     30                  U+091C/U+094D/U+091E: "" DEVANAGARI LETTER JA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER NYA
     31                  U+0965: "" DEVANAGARI DOUBLE DANDA -->
     32             <Key
     33                 latin:keyLabel="&#x0924;&#x094D;&#x0924;"
     34                 latin:moreKeys="&#x091E;,&#x091C;&#x094D;&#x091E;,&#x0965;"
     35                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     36             <!-- U+0921/U+094D/U+0922: "" DEVANAGARI LETTER DDA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DDHA
     37                  U+0908: "" DEVANAGARI LETTER II -->
     38             <Key
     39                 latin:keyLabel="&#x0921;&#x094D;&#x0922;"
     40                 latin:moreKeys="&#x0908;"
     41                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     42             <!-- U+0910: "" DEVANAGARI LETTER AI
     43                  U+0918: "" DEVANAGARI LETTER GHA -->
     44             <Key
     45                 latin:keyLabel="&#x0910;"
     46                 latin:moreKeys="&#x0918;"
     47                 latin:keyLabelFlags="fontNormal" />
     48             <!-- U+0926/U+094D/U+0935: "" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER VA
     49                  U+0926/U+094D/U+0927: "" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DHA -->
     50             <Key
     51                 latin:keyLabel="&#x0926;&#x094D;&#x0935;"
     52                 latin:moreKeys="&#x0926;&#x094D;&#x0927;"
     53                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     54             <!-- U+091F/U+094D/U+091F: "" DEVANAGARI LETTER TTA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TTA
     55                  U+091B: "" DEVANAGARI LETTER CHA -->
     56             <Key
     57                 latin:keyLabel="&#x091F;&#x094D;&#x091F;"
     58                 latin:moreKeys="&#x091B;"
     59                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     60             <!-- U+0920/U+094D/U+0920: "" DEVANAGARI LETTER TTHA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TTHA
     61                  U+091F: "" DEVANAGARI LETTER TTA -->
     62             <Key
     63                 latin:keyLabel="&#x0920;&#x094D;&#x0920;"
     64                 latin:moreKeys="&#x091F;"
     65                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     66             <!-- U+090A: "" DEVANAGARI LETTER UU
     67                  U+0920: "" DEVANAGARI LETTER TTHA -->
     68             <Key
     69                 latin:keyLabel="&#x090A;"
     70                 latin:moreKeys="&#x0920;"
     71                 latin:keyLabelFlags="fontNormal" />
     72             <!-- U+0915/U+094D/U+0937: "" DEVANAGARI LETTER KA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER SSA
     73                  U+0921: "" DEVANAGARI LETTER DDA -->
     74             <Key
     75                 latin:keyLabel="&#x0915;&#x094D;&#x0937;"
     76                 latin:moreKeys="&#x0921;"
     77                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     78             <!-- U+0907: "" DEVANAGARI LETTER I
     79                  U+0922: "" DEVANAGARI LETTER DDHA -->
     80             <Key
     81                 latin:keyLabel="&#x0907;"
     82                 latin:moreKeys="&#x0922;"
     83                 latin:keyLabelFlags="fontNormal" />
     84             <!-- U+090F: "" DEVANAGARI LETTER E
     85                  U+0923: "" DEVANAGARI LETTER NNA -->
     86             <Key
     87                 latin:keyLabel="&#x090F;"
     88                 latin:moreKeys="&#x0923;"
     89                 latin:keyLabelFlags="fontNormal" />
     90             <!-- Because the font rendering system prior to API version 16 can't automatically
     91                  render dotted circle for incomplete combining letter of some scripts, different
     92                  set of Key definitions are needed based on the API version. -->
     93             <include
     94                 latin:keyboardLayout="@xml/key_devanagari_vowel_sign_vocalic_r" />
     95         </case>
     96         <default>
     97             <!-- U+091F: "" DEVANAGARI LETTER TTA
     98                  U+0967: "" DEVANAGARI DIGIT ONE -->
     99             <Key
    100                 latin:keyLabel="&#x091F;"
    101                 latin:keyHintLabel="1"
    102                 latin:additionalMoreKeys="&#x0967;,1"
    103                 latin:keyLabelFlags="fontNormal" />
    104             <!-- U+0927: "" DEVANAGARI LETTER DHA
    105                  U+0968: "" DEVANAGARI DIGIT TWO -->
    106             <Key
    107                 latin:keyLabel="&#x0927;"
    108                 latin:keyHintLabel="2"
    109                 latin:additionalMoreKeys="&#x0968;,2"
    110                 latin:keyLabelFlags="fontNormal" />
    111             <!-- U+092D: "" DEVANAGARI LETTER BHA
    112                  U+0969: "" DEVANAGARI DIGIT THREE -->
    113             <Key
    114                 latin:keyLabel="&#x092D;"
    115                 latin:keyHintLabel="3"
    116                 latin:additionalMoreKeys="&#x0969;,3"
    117                 latin:keyLabelFlags="fontNormal" />
    118             <!-- U+091A: "" DEVANAGARI LETTER CA
    119                  U+096A: "" DEVANAGARI DIGIT FOUR -->
    120             <Key
    121                 latin:keyLabel="&#x091A;"
    122                 latin:keyHintLabel="4"
    123                 latin:additionalMoreKeys="&#x096A;,4"
    124                 latin:keyLabelFlags="fontNormal" />
    125             <!-- U+0924: "" DEVANAGARI LETTER TA
    126                  U+096B: "" DEVANAGARI DIGIT FIVE -->
    127             <Key
    128                 latin:keyLabel="&#x0924;"
    129                 latin:keyHintLabel="5"
    130                 latin:additionalMoreKeys="&#x096B;,5"
    131                 latin:keyLabelFlags="fontNormal" />
    132             <!-- U+0925: "" DEVANAGARI LETTER THA
    133                  U+096C: "" DEVANAGARI DIGIT SIX -->
    134             <Key
    135                 latin:keyLabel="&#x0925;"
    136                 latin:keyHintLabel="6"
    137                 latin:additionalMoreKeys="&#x096C;,6"
    138                 latin:keyLabelFlags="fontNormal" />
    139             <!-- U+0917: "" DEVANAGARI LETTER G
    140                  U+096D: "" DEVANAGARI DIGIT SEVEN -->
    141             <Key
    142                 latin:keyLabel="&#x0917;"
    143                 latin:keyHintLabel="7"
    144                 latin:additionalMoreKeys="&#x096D;,7"
    145                 latin:keyLabelFlags="fontNormal" />
    146             <!-- U+0937: "" DEVANAGARI LETTER SSA
    147                  U+096E: "" DEVANAGARI DIGIT EIGHT -->
    148             <Key
    149                 latin:keyLabel="&#x0937;"
    150                 latin:keyHintLabel="8"
    151                 latin:additionalMoreKeys="&#x096E;,8"
    152                 latin:keyLabelFlags="fontNormal" />
    153             <!-- U+092F: "" DEVANAGARI LETTER YA
    154                  U+096F: "" DEVANAGARI DIGIT NINE -->
    155             <Key
    156                 latin:keyLabel="&#x092F;"
    157                 latin:keyHintLabel="9"
    158                 latin:additionalMoreKeys="&#x096F;,9"
    159                 latin:keyLabelFlags="fontNormal" />
    160             <!-- U+0909: "" DEVANAGARI LETTER U
    161                  U+0966: "" DEVANAGARI DIGIT ZERO -->
    162             <Key
    163                 latin:keyLabel="&#x0909;"
    164                 latin:keyHintLabel="0"
    165                 latin:additionalMoreKeys="&#x0966;,0"
    166                 latin:keyLabelFlags="fontNormal" />
    167             <!-- U+0907: "" DEVANAGARI LETTER I
    168                  U+0914: "" DEVANAGARI LETTER AU -->
    169             <Key
    170                 latin:keyLabel="&#x0907;"
    171                 latin:moreKeys="&#x0914;"
    172                 latin:keyLabelFlags="fontNormal" />
    173          </default>
    174     </switch>
    175 </merge>
    176