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+090B: "" DEVANAGARI LETTER VOCALIC R -->
     29             <Key
     30                 latin:keyLabel="&#x090B;"
     31                 latin:keyLabelFlags="fontNormal" />
     32             <!-- U+0922: "" DEVANAGARI LETTER DDHA -->
     33             <Key
     34                 latin:keyLabel="&#x0922;"
     35                 latin:keyLabelFlags="fontNormal" />
     36             <!-- U+091B: "" DEVANAGARI LETTER CHA -->
     37             <Key
     38                 latin:keyLabel="&#x091B;"
     39                 latin:keyLabelFlags="fontNormal" />
     40             <!-- Because the font rendering system prior to API version 16 can't automatically
     41                  render dotted circle for incomplete combining letter of some scripts, different
     42                  set of Key definitions are needed based on the API version. -->
     43             <include
     44                 latin:keyboardLayout="@xml/key_devanagari_sign_candrabindu" />
     45             <!-- U+092D: "" DEVANAGARI LETTER BHA -->
     46             <Key
     47                 latin:keyLabel="&#x092D;"
     48                 latin:keyLabelFlags="fontNormal" />
     49             <!-- U+0923: "" DEVANAGARI LETTER NNA -->
     50             <Key
     51                 latin:keyLabel="&#x0923;"
     52                 latin:keyLabelFlags="fontNormal" />
     53             <!-- Because the font rendering system prior to API version 16 can't automatically
     54                  render dotted circle for incomplete combining letter of some scripts, different
     55                  set of Key definitions are needed based on the API version. -->
     56             <include
     57                 latin:keyboardLayout="@xml/key_devanagari_sign_anusvara" />
     58             <!-- U+0919: "" DEVANAGARI LETTER NGA -->
     59             <Key
     60                 latin:keyLabel="&#x0919;"
     61                 latin:keyLabelFlags="fontNormal" />
     62             <!-- Because the font rendering system prior to API version 16 can't automatically
     63                  render dotted circle for incomplete combining letter of some scripts, different
     64                  set of Key definitions are needed based on the API version. -->
     65             <include
     66                 latin:keyboardLayout="@xml/keystyle_devanagari_sign_virama" />
     67             <Key
     68                 latin:keyStyle="baseKeyDevanagariSignVirama" />
     69         </case>
     70         <default>
     71             <!-- U+0937: "" DEVANAGARI LETTER SSA -->
     72             <Key
     73                 latin:keyLabel="&#x0937;"
     74                 latin:keyLabelFlags="fontNormal" />
     75             <!-- U+0921: "" DEVANAGARI LETTER DDA -->
     76             <Key
     77                 latin:keyLabel="&#x0921;"
     78                 latin:keyLabelFlags="fontNormal" />
     79             <!-- U+091A: "" DEVANAGARI LETTER CA -->
     80             <Key
     81                 latin:keyLabel="&#x091A;"
     82                 latin:keyLabelFlags="fontNormal" />
     83             <!-- U+0935: "" DEVANAGARI LETTER VA -->
     84             <Key
     85                 latin:keyLabel="&#x0935;"
     86                 latin:keyLabelFlags="fontNormal" />
     87             <!-- U+092C: "" DEVANAGARI LETTER BHA -->
     88             <Key
     89                 latin:keyLabel="&#x092C;"
     90                 latin:keyLabelFlags="fontNormal" />
     91             <!-- U+0928: "" DEVANAGARI LETTER NA -->
     92             <Key
     93                 latin:keyLabel="&#x0928;"
     94                 latin:keyLabelFlags="fontNormal" />
     95             <!-- U+092E: "" DEVANAGARI LETTER MA -->
     96             <Key
     97                 latin:keyLabel="&#x092E;"
     98                 latin:keyLabelFlags="fontNormal" />
     99             <!-- U+0964: "" DEVANAGARI DANDA
    100                  U+093D: "" DEVANAGARI SIGN AVAGRAHA -->
    101             <Key
    102                 latin:keyLabel="&#x0964;"
    103                 latin:moreKeys="&#x093D;"
    104                 latin:keyLabelFlags="fontNormal" />
    105             <!-- Because the font rendering system prior to API version 16 can't automatically
    106                  render dotted circle for incomplete combining letter of some scripts, different
    107                  set of Key definitions are needed based on the API version. -->
    108             <include
    109                 latin:keyboardLayout="@xml/keystyle_devanagari_sign_virama" />
    110             <Key
    111                 latin:keyStyle="baseKeyDevanagariSignVirama" />
    112         </default>
    113     </switch>
    114 </merge>
    115