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 <!-- The code point U+25CC for key label is needed because the font rendering system prior to
     22      API version 16 can't automatically render dotted circle for incomplete combining letter
     23      of some scripts. The files named res/xml/key_*.xml have this U+25CC hack, although the
     24      counterpart files named res/xml-v16/key_*.xml don't have this hack. -->
     25 <merge
     26     xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
     27 >
     28     <switch>
     29         <case
     30             latin:keyboardLayoutSet="hindi"
     31         >
     32             <!-- U+25CC: "" DOTTED CIRCLE
     33                  U+093F/U+0902: "" DEVANAGARI VOWEL SIGN I/DEVANAGARI SIGN ANUSVARA -->
     34             <key-style
     35                 latin:styleName="moreKeysDevanagariVowelSignI"
     36                 latin:moreKeys="&#x093F;&#x25CC;&#x0902;|&#x093F;&#x0902;" />
     37         </case>
     38         <default>
     39              <key-style
     40                 latin:styleName="moreKeysDevanagariVowelSignI" />
     41         </default>
     42     </switch>
     43     <!-- U+25CC: "" DOTTED CIRCLE
     44          U+093F: "" DEVANAGARI VOWEL SIGN I -->
     45     <key-style
     46         latin:styleName="baseKeyDevanagariVowelSignI"
     47         latin:parentStyle="moreKeysDevanagariVowelSignI"
     48         latin:keyLabel="&#x25CC;&#x093F;"
     49         latin:code="0x093F"
     50         latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     51 </merge>
     52