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 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
     26     <switch>
     27         <case latin:keyboardLayoutSet="hindi">
     28             <!-- U+25CC: "" DOTTED CIRCLE
     29                  U+0948/U+0902: "" DEVANAGARI VOWEL SIGN AI/DEVANAGARI SIGN ANUSVARA -->
     30             <key-style
     31                 latin:styleName="moreKeysDevanagariVowelSignAi"
     32                 latin:moreKeys="&#x25CC;&#x0948;&#x0902;|&#x0948;&#x0902;,%" />
     33         </case>
     34         <case latin:keyboardLayoutSet="hindi_compact">
     35             <!-- U+25CC: "" DOTTED CIRCLE
     36                  U+0948: "" DEVANAGARI VOWEL SIGN AI -->
     37             <key-style
     38                 latin:styleName="moreKeysDevanagariVowelSignAi"
     39                 latin:moreKeys="&#x25CC;&#x0948;|&#x0948;,%" />
     40         </case>
     41         <case latin:keyboardLayoutSet="marathi">
     42             <!-- U+0910: "" DEVANAGARI LETTER AI -->
     43             <key-style
     44                 latin:styleName="moreKeysDevanagariVowelSignAi"
     45                 latin:moreKeys="&#x0910;,%" />
     46         </case>
     47         <case latin:keyboardLayoutSet="nepali_traditional">
     48             <!-- U+0936/U+094D/U+0930: "" DEVANAGARI LETTER SHA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER RA -->
     49             <key-style
     50                 latin:styleName="moreKeysDevanagariVowelSignAi"
     51                 latin:moreKeys="&#x0936;&#x094D;&#x0930;" />
     52         </case>
     53         <default>
     54             <key-style latin:styleName="moreKeysDevanagariVowelSignAi" />
     55         </default>
     56     </switch>
     57     <!-- U+25CC: "" DOTTED CIRCLE
     58          U+0948: "" DEVANAGARI VOWEL SIGN AI -->
     59     <key-style
     60         latin:styleName="baseKeyDevanagariVowelSignAi"
     61         latin:parentStyle="moreKeysDevanagariVowelSignAi"
     62         latin:keySpec="&#x25CC;&#x0948;|&#x0948;"
     63         latin:keyLabelFlags="followKeyLetterRatio" />
     64 </merge>
     65