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+0920: "" DEVANAGARI LETTER TTHA -->
     29             <Key
     30                 latin:keyLabel="&#x0920;"
     31                 latin:keyLabelFlags="fontNormal" />
     32             <!-- U+0914: "" DEVANAGARI LETTER AU -->
     33             <Key
     34                 latin:keyLabel="&#x0914;"
     35                 latin:keyLabelFlags="fontNormal" />
     36             <!-- Because the font rendering system prior to API version 16 can't automatically
     37                  render dotted circle for incomplete combining letter of some scripts, different
     38                  set of Key definitions are needed based on the API version. -->
     39             <include
     40                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ai" />
     41             <Key
     42                 latin:keyStyle="baseKeyDevanagariVowelSignAi" />
     43             <!-- Because the font rendering system prior to API version 16 can't automatically
     44                  render dotted circle for incomplete combining letter of some scripts, different
     45                  set of Key definitions are needed based on the API version. -->
     46             <include
     47                 latin:keyboardLayout="@xml/key_devanagari_vowel_sign_vocalic_r" />
     48             <!-- U+0925: "" DEVANAGARI LETTER THA -->
     49             <Key
     50                 latin:keyLabel="&#x0925;"
     51                 latin:keyLabelFlags="fontNormal" />
     52             <!-- U+091E: "" DEVANAGARI LETTER NYA -->
     53             <Key
     54                 latin:keyLabel="&#x091E;"
     55                 latin:keyLabelFlags="fontNormal" />
     56             <!-- Because the font rendering system prior to API version 16 can't automatically
     57                  render dotted circle for incomplete combining letter of some scripts, different
     58                  set of Key definitions are needed based on the API version. -->
     59             <include
     60                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_uu" />
     61             <Key
     62                 latin:keyStyle="baseKeyDevanagariVowelSignUu" />
     63             <!-- Because the font rendering system prior to API version 16 can't automatically
     64                  render dotted circle for incomplete combining letter of some scripts, different
     65                  set of Key definitions are needed based on the API version. -->
     66             <include
     67                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ii" />
     68             <Key
     69                 latin:keyStyle="baseKeyDevanagariVowelSignIi" />
     70             <!-- U+0913: "" DEVANAGARI LETTER O -->
     71             <Key
     72                 latin:keyLabel="&#x0913;"
     73                 latin:keyLabelFlags="fontNormal" />
     74             <!-- U+092B: "" DEVANAGARI LETTER PHA -->
     75             <Key
     76                 latin:keyLabel="&#x092B;"
     77                 latin:keyLabelFlags="fontNormal" />
     78             <!-- U+0908: "" DEVANAGARI LETTER II -->
     79             <Key
     80                 latin:keyLabel="&#x0908;"
     81                 latin:keyLabelFlags="fontNormal" />
     82         </case>
     83         <default>
     84             <!-- U+091F: "" DEVANAGARI LETTER TTA
     85                  U+0967: "" DEVANAGARI DIGIT ONE
     86                  U+093C: "" DEVANAGARI SIGN NUKTA -->
     87             <Key
     88                 latin:keyLabel="&#x091F;"
     89                 latin:keyHintLabel="1"
     90                 latin:additionalMoreKeys="&#x0967;,1"
     91                 latin:moreKeys="&#x093C;"
     92                 latin:keyLabelFlags="fontNormal" />
     93             <!-- Because the font rendering system prior to API version 16 can't automatically
     94                  render dotted circle for incomplete combining letter of some scripts, different
     95                  set of Key definitions are needed based on the API version. -->
     96             <!-- U+0968: "" DEVANAGARI DIGIT TWO -->
     97             <include
     98                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_au" />
     99             <Key
    100                 latin:keyStyle="baseKeyDevanagariVowelSignAu"
    101                 latin:keyHintLabel="2"
    102                 latin:additionalMoreKeys="&#x0968;,2" />
    103             <!-- Because the font rendering system prior to API version 16 can't automatically
    104                  render dotted circle for incomplete combining letter of some scripts, different
    105                  set of Key definitions are needed based on the API version. -->
    106             <!-- U+0969: "" DEVANAGARI DIGIT THREE -->
    107             <include
    108                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_e" />
    109             <Key
    110                 latin:keyStyle="baseKeyDevanagariVowelSignE"
    111                 latin:keyHintLabel="3"
    112                 latin:additionalMoreKeys="&#x0969;,3" />
    113             <!-- U+0930: "" DEVANAGARI LETTER RA
    114                  U+096A: "" DEVANAGARI DIGIT FOUR -->
    115             <Key
    116                 latin:keyLabel="&#x0930;"
    117                 latin:keyHintLabel="4"
    118                 latin:additionalMoreKeys="&#x096A;,4"
    119                 latin:keyLabelFlags="fontNormal" />
    120             <!-- U+0924: "" DEVANAGARI LETTER TA
    121                  U+096B: "" DEVANAGARI DIGIT FIVE -->
    122             <Key
    123                 latin:keyLabel="&#x0924;"
    124                 latin:keyHintLabel="5"
    125                 latin:additionalMoreKeys="&#x096B;,5"
    126                 latin:keyLabelFlags="fontNormal" />
    127             <!-- U+092F: "" DEVANAGARI LETTER YA
    128                  U+096C: "" DEVANAGARI DIGIT SIX -->
    129             <Key
    130                 latin:keyLabel="&#x092F;"
    131                 latin:keyHintLabel="6"
    132                 latin:additionalMoreKeys="&#x096C;,6"
    133                 latin:keyLabelFlags="fontNormal" />
    134             <!-- Because the font rendering system prior to API version 16 can't automatically
    135                  render dotted circle for incomplete combining letter of some scripts, different
    136                  set of Key definitions are needed based on the API version. -->
    137             <!-- U+096D: "" DEVANAGARI DIGIT SEVEN -->
    138             <include
    139                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_u" />
    140             <Key
    141                 latin:keyStyle="baseKeyDevanagariVowelSignU"
    142                 latin:keyHintLabel="7"
    143                 latin:additionalMoreKeys="&#x096D;,7" />
    144             <!-- Because the font rendering system prior to API version 16 can't automatically
    145                  render dotted circle for incomplete combining letter of some scripts, different
    146                  set of Key definitions are needed based on the API version. -->
    147             <!-- U+096E: "" DEVANAGARI DIGIT EIGHT -->
    148             <include
    149                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_i" />
    150             <Key
    151                 latin:keyStyle="baseKeyDevanagariVowelSignI"
    152                 latin:keyHintLabel="8"
    153                 latin:additionalMoreKeys="&#x096E;,8" />
    154             <!-- Because the font rendering system prior to API version 16 can't automatically
    155                  render dotted circle for incomplete combining letter of some scripts, different
    156                  set of Key definitions are needed based on the API version. -->
    157             <!-- U+096F: "" DEVANAGARI DIGIT NINE -->
    158             <include
    159                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_o" />
    160             <Key
    161                 latin:keyStyle="baseKeyDevanagariVowelSignO"
    162                 latin:keyHintLabel="9"
    163                 latin:additionalMoreKeys="&#x096F;,9" />
    164             <!-- U+092A: "" DEVANAGARI LETTER PA
    165                  U+0966: "" DEVANAGARI DIGIT ZERO -->
    166             <Key
    167                 latin:keyLabel="&#x092A;"
    168                 latin:keyHintLabel="0"
    169                 latin:additionalMoreKeys="&#x0966;,0"
    170                 latin:keyLabelFlags="fontNormal" />
    171             <!-- U+0907: "" DEVANAGARI LETTER I -->
    172             <Key
    173                 latin:keyLabel="&#x0907;"
    174                 latin:keyLabelFlags="fontNormal" />
    175          </default>
    176     </switch>
    177 </merge>
    178