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+0915/U+094D: "" DEVANAGARI LETTER KA/DEVANAGARI SIGN VIRAMA -->
     29             <Key
     30                 latin:keyLabel="&#x0915;&#x094D;"
     31                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     32             <!-- U+0939/U+094D/U+092E: "" DEVANAGARI LETTER HA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER MA -->
     33             <Key
     34                 latin:keyLabel="&#x0939;&#x094D;&#x092E;"
     35                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     36             <!-- U+090B: "" DEVANAGARI LETTER VOCALIC R -->
     37             <Key
     38                 latin:keyLabel="&#x090B;"
     39                 latin:keyLabelFlags="fontNormal" />
     40             <!-- U+0950: "" DEVANAGARI OM -->
     41             <Key
     42                 latin:keyLabel="&#x0950;"
     43                 latin:keyLabelFlags="fontNormal" />
     44             <!-- Because the font rendering system prior to API version 16 can't automatically
     45                  render dotted circle for incomplete combining letter of some scripts, different
     46                  set of Key definitions are needed based on the API version. -->
     47             <include
     48                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_au" />
     49             <Key
     50                 latin:keyStyle="baseKeyDevanagariVowelSignAu" />
     51             <!-- U+0926/U+094D/U+092F: "" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER YA -->
     52             <Key
     53                 latin:keyLabel="&#x0926;&#x094D;&#x092F;"
     54                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     55         </case>
     56         <default>
     57             <!-- U+0936: "" DEVANAGARI LETTER SHA -->
     58             <Key
     59                 latin:keyLabel="&#x0936;"
     60                 latin:keyLabelFlags="fontNormal" />
     61             <!-- U+0939: "" DEVANAGARI LETTER HA -->
     62             <Key
     63                 latin:keyLabel="&#x0939;"
     64                 latin:keyLabelFlags="fontNormal" />
     65             <!-- U+0905: "" DEVANAGARI LETTER A -->
     66             <Key
     67                 latin:keyLabel="&#x0905;"
     68                 latin:keyLabelFlags="fontNormal" />
     69             <!-- U+0916: "" DEVANAGARI LETTER KHA -->
     70             <Key
     71                 latin:keyLabel="&#x0916;"
     72                 latin:keyLabelFlags="fontNormal" />
     73             <!-- U+0926: "" DEVANAGARI LETTER DA -->
     74             <Key
     75                 latin:keyLabel="&#x0926;"
     76                 latin:keyLabelFlags="fontNormal" />
     77             <!-- U+0932: "" DEVANAGARI LETTER LA -->
     78             <Key
     79                 latin:keyLabel="&#x0932;"
     80                 latin:keyLabelFlags="fontNormal" />
     81         </default>
     82     </switch>
     83 </merge>
     84