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+094C/U+0902: "" DEVANAGARI VOWEL SIGN AU/DEVANAGARI SIGN ANUSVARA -->
     30             <key-style
     31                 latin:styleName="moreKeysDevanagariVowelSignAu"
     32                 latin:moreKeys="&#x25CC;&#x094C;&#x0902;|&#x094C;&#x0902;,%" />
     33         </case>
     34         <case latin:keyboardLayoutSet="hindi_compact">
     35             <!-- U+25CC: "" DOTTED CIRCLE
     36                  U+094C: "" DEVANAGARI VOWEL SIGN AU -->
     37             <key-style
     38                 latin:styleName="moreKeysDevanagariVowelSignAu"
     39                 latin:moreKeys="&#x25CC;&#x094C;|&#x094C;,%" />
     40         </case>
     41         <case latin:keyboardLayoutSet="marathi">
     42             <!-- U+0914: "" DEVANAGARI LETTER AU -->
     43             <key-style
     44                 latin:styleName="moreKeysDevanagariVowelSignAu"
     45                 latin:moreKeys="&#x0914;,%" />
     46         </case>
     47         <default>
     48             <key-style latin:styleName="moreKeysDevanagariVowelSignAu" />
     49         </default>
     50     </switch>
     51     <!-- U+094C: "" DEVANAGARI VOWEL SIGN AU -->
     52     <key-style
     53         latin:styleName="baseKeyDevanagariVowelSignAu"
     54         latin:parentStyle="moreKeysDevanagariVowelSignAu"
     55         latin:keySpec="&#x25CC;&#x094C;|&#x094C;"
     56         latin:keyLabelFlags="followKeyLetterRatio" />
     57 </merge>
     58