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+0906: "" DEVANAGARI LETTER AA -->
     29             <Key
     30                 latin:keyLabel="&#x0906;"
     31                 latin:keyLabelFlags="fontNormal" />
     32             <!-- U+0936: "" DEVANAGARI LETTER SHA -->
     33             <Key
     34                 latin:keyLabel="&#x0936;"
     35                 latin:keyLabelFlags="fontNormal" />
     36             <!-- U+0927: "" DEVANAGARI LETTER DHA -->
     37             <Key
     38                 latin:keyLabel="&#x0927;"
     39                 latin:keyLabelFlags="fontNormal" />
     40             <!-- U+090A: "" DEVANAGARI LETTER UU -->
     41             <Key
     42                 latin:keyLabel="&#x090A;"
     43                 latin:keyLabelFlags="fontNormal" />
     44             <!-- U+0918: "" DEVANAGARI LETTER GHA -->
     45             <Key
     46                 latin:keyLabel="&#x0918;"
     47                 latin:keyLabelFlags="fontNormal" />
     48             <!-- U+0905: "" DEVANAGARI LETTER A -->
     49             <Key
     50                 latin:keyLabel="&#x0905;"
     51                 latin:keyLabelFlags="fontNormal" />
     52             <!-- U+091D: "" DEVANAGARI LETTER JHA -->
     53             <Key
     54                 latin:keyLabel="&#x091D;"
     55                 latin:keyLabelFlags="fontNormal" />
     56             <!-- U+0916: "" DEVANAGARI LETTER KHA -->
     57             <Key
     58                 latin:keyLabel="&#x0916;"
     59                 latin:keyLabelFlags="fontNormal" />
     60             <!-- U+0965: "" DEVANAGARI DOUBLE DANDA -->
     61             <Key
     62                 latin:keyLabel="&#x0965;"
     63                 latin:keyLabelFlags="fontNormal" />
     64             <!-- U+0910: "" DEVANAGARI LETTER AI -->
     65             <Key
     66                 latin:keyLabel="&#x0910;"
     67                 latin:keyLabelFlags="fontNormal" />
     68             <!-- Because the font rendering system prior to API version 16 can't automatically
     69                  render dotted circle for incomplete combining letter of some scripts, different
     70                  set of Key definitions are needed based on the API version. -->
     71             <include
     72                 latin:keyboardLayout="@xml/keystyle_devanagari_sign_visarga" />
     73             <Key
     74                 latin:keyStyle="baseKeyDevanagariSignVisarga" />
     75         </case>
     76         <default>
     77             <!-- Because the font rendering system prior to API version 16 can't automatically
     78                  render dotted circle for incomplete combining letter of some scripts, different
     79                  set of Key definitions are needed based on the API version. -->
     80             <include
     81                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_aa" />
     82             <Key
     83                 latin:keyStyle="baseKeyDevanagariVowelSignAa" />
     84             <!-- U+0938: "" DEVANAGARI LETTER SA -->
     85             <Key
     86                 latin:keyLabel="&#x0938;"
     87                 latin:keyLabelFlags="fontNormal" />
     88             <!-- U+0926: "" DEVANAGARI LETTER DA -->
     89             <Key
     90                 latin:keyLabel="&#x0926;"
     91                 latin:keyLabelFlags="fontNormal" />
     92             <!-- U+0909: "" DEVANAGARI LETTER U -->
     93             <Key
     94                 latin:keyLabel="&#x0909;"
     95                 latin:keyLabelFlags="fontNormal" />
     96             <!-- U+0917: "" DEVANAGARI LETTER GA -->
     97             <Key
     98                 latin:keyLabel="&#x0917;"
     99                 latin:keyLabelFlags="fontNormal" />
    100             <!-- U+0939: "" DEVANAGARI LETTER HA -->
    101             <Key
    102                 latin:keyLabel="&#x0939;"
    103                 latin:keyLabelFlags="fontNormal" />
    104             <!-- U+091C: "" DEVANAGARI LETTER JA -->
    105             <Key
    106                 latin:keyLabel="&#x091C;"
    107                 latin:keyLabelFlags="fontNormal" />
    108             <!-- U+0915: "" DEVANAGARI LETTER KA -->
    109             <Key
    110                 latin:keyLabel="&#x0915;"
    111                 latin:keyLabelFlags="fontNormal" />
    112             <!-- U+0932: "" DEVANAGARI LETTER LA -->
    113             <Key
    114                 latin:keyLabel="&#x0932;"
    115                 latin:keyLabelFlags="fontNormal" />
    116             <!-- U+090F: "" DEVANAGARI LETTER E -->
    117             <Key
    118                 latin:keyLabel="&#x090F;"
    119                 latin:keyLabelFlags="fontNormal" />
    120             <!-- U+0950: "" DEVANAGARI OM -->
    121             <Key
    122                 latin:keyLabel="&#x0950;"
    123                 latin:keyLabelFlags="fontNormal" />
    124          </default>
    125     </switch>
    126 </merge>
    127