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+0911: "" DEVANAGARI LETTER CANDRA O -->
     29             <Key
     30                 latin:keyLabel="&#x0911;"
     31                 latin:keyLabelFlags="fontNormal" />
     32             <!-- Because the font rendering system prior to API version 16 can't automatically
     33                  render dotted circle for incomplete combining letter of some scripts, different
     34                  set of Key definitions are needed based on the API version. -->
     35             <include
     36                 latin:keyboardLayout="@xml/key_devanagari_sign_candrabindu" />
     37             <!-- U+0923: "" DEVANAGARI LETTER NNA -->
     38             <Key
     39                 latin:keyLabel="&#x0923;"
     40                 latin:keyLabelFlags="fontNormal" />
     41             <!-- U+0929: "" DEVANAGARI LETTER NNNA -->
     42             <Key
     43                 latin:keyLabel="&#x0929;" />
     44             <!-- U+0933: "" DEVANAGARI LETTER LLA
     45                  U+0934: "" DEVANAGARI LETTER LLLA -->
     46             <Key
     47                 latin:keyLabel="&#x0933;"
     48                 latin:moreKeys="&#x0934;"
     49                 latin:keyLabelFlags="fontNormal" />
     50             <!-- U+0936: "" DEVANAGARI LETTER SHA -->
     51             <Key
     52                 latin:keyLabel="&#x0936;"
     53                 latin:keyLabelFlags="fontNormal" />
     54             <!-- U+0937: "" DEVANAGARI LETTER SSA -->
     55             <Key
     56                 latin:keyLabel="&#x0937;"
     57                 latin:keyLabelFlags="fontNormal" />
     58             <!-- Because the font rendering system prior to API version 16 can't automatically
     59                  render dotted circle for incomplete combining letter of some scripts, different
     60                  set of Key definitions are needed based on the API version. -->
     61             <include
     62                 latin:keyboardLayout="@xml/key_devanagari_vowel_sign_vocalic_r" />
     63             <!-- U+091E: "" DEVANAGARI LETTER NYA -->
     64             <Key
     65                 latin:keyLabel="&#x091E;"
     66                 latin:keyLabelFlags="fontNormal" />
     67         </case>
     68         <default>
     69             <!-- Because the font rendering system prior to API version 16 can't automatically
     70                  render dotted circle for incomplete combining letter of some scripts, different
     71                  set of Key definitions are needed based on the API version. -->
     72             <include
     73                 latin:keyboardLayout="@xml/key_devanagari_vowel_sign_candra_o" />
     74             <include
     75                 latin:keyboardLayout="@xml/key_devanagari_sign_anusvara" />
     76             <!-- U+092E: "" DEVANAGARI LETTER MA
     77                  U+0950: "" DEVANAGARI OM -->
     78             <Key
     79                 latin:keyLabel="&#x092E;"
     80                 latin:moreKeys="&#x0950;"
     81                 latin:keyLabelFlags="fontNormal" />
     82             <!-- U+0928: "" DEVANAGARI LETTER NA
     83                  U+091E: "" DEVANAGARI LETTER NYA
     84                  U+0919: "" DEVANAGARI LETTER NGA
     85                  U+0928/U+093C: "" DEVANAGARI LETTER NA/DEVANAGARI SIGN NUKTA -->
     86             <Key
     87                 latin:keyLabel="&#x0928;"
     88                 latin:moreKeys="&#x091E;,&#x0919;,&#x0928;&#x093C;"
     89                 latin:keyLabelFlags="fontNormal" />
     90             <!-- U+0935: "" DEVANAGARI LETTER VA -->
     91             <Key
     92                 latin:keyLabel="&#x0935;"
     93                 latin:keyLabelFlags="fontNormal" />
     94             <!-- U+0932: "" DEVANAGARI LETTER LA
     95                  U+090C: "" DEVANAGARI LETTER VOCALIC L
     96                  U+0961: "" DEVANAGARI LETTER VOCALIC LL -->
     97             <Key
     98                 latin:keyLabel="&#x0932;"
     99                 latin:moreKeys="&#x090C;,&#x0961;"
    100                 latin:keyLabelFlags="fontNormal" />
    101             <!-- U+0938: "" DEVANAGARI LETTER SA -->
    102             <Key
    103                 latin:keyLabel="&#x0938;"
    104                 latin:keyLabelFlags="fontNormal" />
    105             <!-- U+092F: "" DEVANAGARI LETTER YA
    106                  U+095F: "" DEVANAGARI LETTER YYA -->
    107             <Key
    108                 latin:keyLabel="&#x092F;"
    109                 latin:moreKeys="&#x095F;"
    110                 latin:keyLabelFlags="fontNormal" />
    111             <!-- Because the font rendering system prior to API version 16 can't automatically
    112                  render dotted circle for incomplete combining letter of some scripts, different
    113                  set of Key definitions are needed based on the API version. -->
    114             <include
    115                 latin:keyboardLayout="@xml/key_devanagari_sign_nukta" />
    116          </default>
    117     </switch>
    118 </merge>
    119