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+090B: "" DEVANAGARI LETTER VOCALIC R -->
     25             <Key latin:keySpec="&#x090B;" />
     26             <!-- U+0922: "" DEVANAGARI LETTER DDHA -->
     27             <Key latin:keySpec="&#x0922;" />
     28             <!-- U+091B: "" DEVANAGARI LETTER CHA -->
     29             <Key latin:keySpec="&#x091B;" />
     30             <!-- Because the font rendering system prior to API version 16 can't automatically
     31                  render dotted circle for incomplete combining letter of some scripts, different
     32                  set of Key definitions are needed based on the API version. -->
     33             <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_candrabindu" />
     34             <Key latin:keyStyle="baseKeyDevanagariSignCandrabindu" />
     35             <!-- U+092D: "" DEVANAGARI LETTER BHA -->
     36             <Key latin:keySpec="&#x092D;" />
     37             <!-- U+0923: "" DEVANAGARI LETTER NNA -->
     38             <Key latin:keySpec="&#x0923;" />
     39             <!-- Because the font rendering system prior to API version 16 can't automatically
     40                  render dotted circle for incomplete combining letter of some scripts, different
     41                  set of Key definitions are needed based on the API version. -->
     42             <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_anusvara" />
     43             <Key latin:keyStyle="baseKeyDevanagariSignAnusvara" />
     44             <!-- U+0919: "" DEVANAGARI LETTER NGA -->
     45             <Key latin:keySpec="&#x0919;" />
     46         </case>
     47         <default>
     48             <!-- U+0937: "" DEVANAGARI LETTER SSA -->
     49             <Key latin:keySpec="&#x0937;" />
     50             <!-- U+0921: "" DEVANAGARI LETTER DDA -->
     51             <Key latin:keySpec="&#x0921;" />
     52             <!-- U+091A: "" DEVANAGARI LETTER CA -->
     53             <Key latin:keySpec="&#x091A;" />
     54             <!-- U+0935: "" DEVANAGARI LETTER VA -->
     55             <Key latin:keySpec="&#x0935;" />
     56             <!-- U+092C: "" DEVANAGARI LETTER BHA -->
     57             <Key latin:keySpec="&#x092C;" />
     58             <!-- U+0928: "" DEVANAGARI LETTER NA -->
     59             <Key latin:keySpec="&#x0928;" />
     60             <!-- U+092E: "" DEVANAGARI LETTER MA -->
     61             <Key latin:keySpec="&#x092E;" />
     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 latin:keyboardLayout="@xml/keystyle_devanagari_sign_virama" />
     66             <!-- U+093D: "" DEVANAGARI SIGN AVAGRAHA -->
     67             <Key
     68                 latin:keyStyle="baseKeyDevanagariSignVirama"
     69                 latin:moreKeys="&#x093D;" />
     70         </default>
     71     </switch>
     72 </merge>
     73