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