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     <switch>
     25         <case
     26             latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
     27         >
     28             <!-- U+0914: "" DEVANAGARI LETTER AU
     29                  U+0912/U+0902: "" DEVANAGARI LETTER SHORT O//DEVANAGARI SIGN ANUSVARA -->
     30             <Key
     31                 latin:keyLabel="&#x0914;"
     32                 latin:moreKeys="&#x0912;&#x0902;"
     33                 latin:keyLabelFlags="fontNormal" />
     34             <!-- U+0910: "" DEVANAGARI LETTER AI
     35                  U+0910/U+0902: "" DEVANAGARI LETTER AI/DEVANAGARI SIGN ANUSVARA -->
     36             <Key
     37                 latin:keyLabel="&#x0910;"
     38                 latin:moreKeys="&#x0910;&#x0902;"
     39                 latin:keyLabelFlags="fontNormal" />
     40             <!-- U+0906: "" DEVANAGARI LETTER AA
     41                  U+0906/U+0902: "" DEVANAGARI LETTER AA/DEVANAGARI SIGN ANUSVARA
     42                  U+0906/U+0901: "" DEVANAGARI LETTER AA/DEVANAGARI SIGN CANDRABINDU -->
     43             <Key
     44                 latin:keyLabel="&#x0906;"
     45                 latin:moreKeys="&#x0906;&#x0902;,&#x0906;&#x0901;"
     46                 latin:keyLabelFlags="fontNormal" />
     47             <!-- U+0908: "" DEVANAGARI LETTER II
     48                  U+0908/U+0902: "" DEVANAGARI LETTER II/DEVANAGARI SIGN ANUSVARA -->
     49             <Key
     50                 latin:keyLabel="&#x0908;"
     51                 latin:moreKeys="&#x0908;&#x0902;"
     52                 latin:keyLabelFlags="fontNormal" />
     53             <!-- U+090A: "" DEVANAGARI LETTER UU
     54                  U+090A/U+0902: "" DEVANAGARI LETTER UU/DEVANAGARI SIGN ANUSVARA
     55                  U+090A/U+0901: "" DEVANAGARI LETTER UU/DEVANAGARI SIGN CANDRABINDU -->
     56             <Key
     57                 latin:keyLabel="&#x090A;"
     58                 latin:moreKeys="&#x090A;&#x0902;,&#x090A;&#x0901;"
     59                 latin:keyLabelFlags="fontNormal" />
     60             <!-- U+092D: "" DEVANAGARI LETTER BHA -->
     61             <Key
     62                 latin:keyLabel="&#x092D;"
     63                 latin:keyLabelFlags="fontNormal" />
     64             <!-- Because the font rendering system prior to API version 16 can't automatically
     65                  render dotted circle for incomplete combining letter of some scripts, different
     66                  set of Key definitions are needed based on the API version. -->
     67             <include
     68                 latin:keyboardLayout="@xml/keystyle_devanagari_sign_visarga" />
     69             <Key
     70                 latin:keyStyle="baseKeyDevanagariSignVisarga" />
     71             <!-- U+0918: "" DEVANAGARI LETTER GHA -->
     72             <Key
     73                 latin:keyLabel="&#x0918;"
     74                 latin:keyLabelFlags="fontNormal" />
     75             <!-- U+0927: "" DEVANAGARI LETTER DHA
     76                  U+0915/U+094D/U+0937: "" DEVANAGARI LETTER KA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER SSA
     77                  U+0936/U+094D/U+0930: "" DEVANAGARI LETTER SHA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER RA -->
     78             <Key
     79                 latin:keyLabel="&#x0927;"
     80                 latin:moreKeys="&#x0915;&#x094D;&#x0937;,&#x0936;&#x094D;&#x0930;"
     81                 latin:keyLabelFlags="fontNormal" />
     82             <!-- U+091D: "" DEVANAGARI LETTER JHA -->
     83             <Key
     84                 latin:keyLabel="&#x091D;"
     85                 latin:keyLabelFlags="fontNormal" />
     86             <!-- U+0922: "" DEVANAGARI LETTER DDHA -->
     87             <Key
     88                 latin:keyLabel="&#x0922;"
     89                 latin:keyLabelFlags="fontNormal" />
     90         </case>
     91         <default>
     92             <!-- Because the font rendering system prior to API version 16 can't automatically
     93                  render dotted circle for incomplete combining letter of some scripts, different
     94                  set of Key definitions are needed based on the API version. -->
     95             <!-- U+0967: "" DEVANAGARI DIGIT ONE -->
     96             <include
     97                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_au" />
     98             <Key
     99                 latin:keyStyle="baseKeyDevanagariVowelSignAu"
    100                 latin:keyHintLabel="1"
    101                 latin:additionalMoreKeys="&#x0967;,1" />
    102             <!-- Because the font rendering system prior to API version 16 can't automatically
    103                  render dotted circle for incomplete combining letter of some scripts, different
    104                  set of Key definitions are needed based on the API version. -->
    105             <!-- U+0968: "" DEVANAGARI DIGIT TWO -->
    106             <include
    107                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ai" />
    108             <Key
    109                 latin:keyStyle="baseKeyDevanagariVowelSignAi"
    110                 latin:keyHintLabel="2"
    111                 latin:additionalMoreKeys="&#x0968;,2" />
    112             <!-- Because the font rendering system prior to API version 16 can't automatically
    113                  render dotted circle for incomplete combining letter of some scripts, different
    114                  set of Key definitions are needed based on the API version. -->
    115             <!-- U+0969: "" DEVANAGARI DIGIT THREE -->
    116             <include
    117                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_aa" />
    118             <Key
    119                 latin:keyStyle="baseKeyDevanagariVowelSignAa"
    120                 latin:keyHintLabel="3"
    121                 latin:additionalMoreKeys="&#x0969;,3" />
    122             <!-- Because the font rendering system prior to API version 16 can't automatically
    123                  render dotted circle for incomplete combining letter of some scripts, different
    124                  set of Key definitions are needed based on the API version. -->
    125             <!-- U+096A: "" DEVANAGARI DIGIT FOUR -->
    126             <include
    127                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ii" />
    128             <Key
    129                 latin:keyStyle="baseKeyDevanagariVowelSignIi"
    130                 latin:keyHintLabel="4"
    131                 latin:additionalMoreKeys="&#x096A;,4" />
    132             <!-- Because the font rendering system prior to API version 16 can't automatically
    133                  render dotted circle for incomplete combining letter of some scripts, different
    134                  set of Key definitions are needed based on the API version. -->
    135             <!-- U+096B: "" DEVANAGARI DIGIT FIVE -->
    136             <include
    137                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_uu" />
    138             <Key
    139                 latin:keyStyle="baseKeyDevanagariVowelSignUu"
    140                 latin:keyHintLabel="5"
    141                 latin:additionalMoreKeys="&#x096B;,5" />
    142             <!-- U+092C: "" DEVANAGARI LETTER BA
    143                  U+096C: "" DEVANAGARI DIGIT SIX
    144                  U+092C/U+0952: "" DEVANAGARI LETTER BA/DEVANAGARI STRESS SIGN ANUDATTA -->
    145             <Key
    146                 latin:keyLabel="&#x092C;"
    147                 latin:moreKeys="&#x092C;&#x0952;,%"
    148                 latin:keyHintLabel="6"
    149                 latin:additionalMoreKeys="&#x096C;,6"
    150                 latin:keyLabelFlags="fontNormal" />
    151             <!-- U+0939: "" DEVANAGARI LETTER HA
    152                  U+096D: "" DEVANAGARI DIGIT SEVEN -->
    153             <Key
    154                 latin:keyLabel="&#x0939;"
    155                 latin:keyHintLabel="7"
    156                 latin:additionalMoreKeys="&#x096D;,7"
    157                 latin:keyLabelFlags="fontNormal" />
    158             <!-- U+0917: "" DEVANAGARI LETTER GA
    159                  U+091C/U+094D/U+091E: "" DEVANAGARI LETTER JA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER NYA
    160                  U+0917/U+093C: "" DEVANAGARI LETTER GA/DEVANAGARI SIGN NUKTA
    161                  U+0917/U+0952: "" DEVANAGARI LETTER GA/DEVANAGARI STRESS SIGN ANUDATTA
    162                  U+096E: "" DEVANAGARI DIGIT EIGHT -->
    163             <Key
    164                 latin:keyLabel="&#x0917;"
    165                 latin:moreKeys="&#x091C;&#x094D;&#x091E;,&#x0917;&#x093C;,&#x0917;&#x0952;,%"
    166                 latin:keyHintLabel="8"
    167                 latin:additionalMoreKeys="&#x096E;,8"
    168                 latin:keyLabelFlags="fontNormal" />
    169             <!-- U+0926: "" DEVANAGARI LETTER DA
    170                  U+096F: "" DEVANAGARI DIGIT NINE -->
    171             <Key
    172                 latin:keyLabel="&#x0926;"
    173                 latin:keyHintLabel="9"
    174                 latin:additionalMoreKeys="&#x096F;,9"
    175                 latin:keyLabelFlags="fontNormal" />
    176             <!-- U+091C: "" DEVANAGARI LETTER JA
    177                  U+091C/U+0952: "" DEVANAGARI LETTER JA/DEVANAGARI STRESS SIGN ANUDATTA
    178                  U+091C/U+094D/U+091E: "" DEVANAGARI LETTER JA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER NYA
    179                  U+091C/U+093C: "" DEVANAGARI LETTER JA/DEVANAGARI SIGN NUKTA
    180                  U+0966: "" DEVANAGARI DIGIT ZERO -->
    181             <Key
    182                 latin:keyLabel="&#x091C;"
    183                 latin:moreKeys="&#x091C;&#x0952;,&#x091C;&#x094D;&#x091E;,&#x091C;&#x093C;,%"
    184                 latin:keyHintLabel="0"
    185                 latin:additionalMoreKeys="&#x0966;,0"
    186                 latin:keyLabelFlags="fontNormal" />
    187             <!-- U+0921: "" DEVANAGARI LETTER DDA
    188                  U+0921/U+0952: "" DEVANAGARI LETTER DDA/DEVANAGARI STRESS SIGN ANUDATTA
    189                  U+0921/U+093C: "" DEVANAGARI LETTER DDA/DEVANAGARI SIGN NUKTA -->
    190             <Key
    191                 latin:keyLabel="&#x0921;"
    192                 latin:moreKeys="&#x0921;&#x0952;,&#x0921;&#x093C;"
    193                 latin:keyLabelFlags="fontNormal" />
    194          </default>
    195     </switch>
    196 </merge>
    197