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             <!-- Because the font rendering system prior to API version 16 can't automatically
     29                  render dotted circle for incomplete combining letter of some scripts, different
     30                  set of Key definitions are needed based on the API version. -->
     31             <include
     32                 latin:keyboardLayout="@xml/key_devanagari_sign_anusvara" />
     33             <!-- U+0919: "" DEVANAGARI LETTER NGA -->
     34             <Key
     35                 latin:keyLabel="&#x0919;"
     36                 latin:keyLabelFlags="fontNormal" />
     37             <!-- Because the font rendering system prior to API version 16 can't automatically
     38                  render dotted circle for incomplete combining letter of some scripts, different
     39                  set of Key definitions are needed based on the API version. -->
     40             <include
     41                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_ai" />
     42             <Key
     43                 latin:keyStyle="baseKeyDevanagariVowelSignAi" />
     44         </case>
     45         <default>
     46             <!-- Because the font rendering system prior to API version 16 can't automatically
     47                  render dotted circle for incomplete combining letter of some scripts, different
     48                  set of Key definitions are needed based on the API version. -->
     49             <include
     50                 latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_e" />
     51             <Key
     52                 latin:keyStyle="baseKeyDevanagariVowelSignE" />
     53             <!-- U+0964: "" DEVANAGARI DANDA -->
     54             <Key
     55                 latin:keyLabel="&#x0964;"
     56                 latin:keyLabelFlags="fontNormal" />
     57              <!-- U+0930: "" DEVANAGARI LETTER RA
     58                   U+0930/U+0941: "" DEVANAGARI LETTER RA/DEVANAGARI VOWEL SIGN U -->
     59             <Key
     60                 latin:keyLabel="&#x0930;"
     61                 latin:moreKeys="&#x0930;&#x0941;"
     62                 latin:keyLabelFlags="fontNormal" />
     63          </default>
     64     </switch>
     65 </merge>
     66