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+094B/U+0902: "" DEVANAGARI VOWEL SIGN O/DEVANAGARI SIGN ANUSVARA
     30                  U+0949: "" DEVANAGARI VOWEL SIGN CANDRA O
     31                  U+094A: "" DEVANAGARI VOWEL SIGN SHORT O -->
     32             <key-style
     33                 latin:styleName="moreKeysDevanagariVowelSignO"
     34                 latin:moreKeys="&#x25CC;&#x094B;&#x0902;|&#x094B;&#x0902;,&#x25CC;&#x0949;|&#x0949;,&#x25CC;&#x094A;|&#x094A;" />
     35         </case>
     36         <case latin:keyboardLayoutSet="hindi_compact">
     37             <!-- U+25CC: "" DOTTED CIRCLE
     38                  U+094B: "" DEVANAGARI VOWEL SIGN O -->
     39             <key-style
     40                 latin:styleName="moreKeysDevanagariVowelSignO"
     41                 latin:moreKeys="&#x25CC;&#x094B;|&#x094B;" />
     42         </case>
     43         <case latin:keyboardLayoutSet="marathi">
     44             <!-- U+0913: "" DEVANAGARI LETTER O -->
     45             <key-style
     46                 latin:styleName="moreKeysDevanagariVowelSignO"
     47                 latin:moreKeys="&#x0913;" />
     48         </case>
     49         <default>
     50             <key-style latin:styleName="moreKeysDevanagariVowelSignO" />
     51         </default>
     52     </switch>
     53     <!-- U+25CC: "" DOTTED CIRCLE
     54          U+094B: "" DEVANAGARI VOWEL SIGN O -->
     55     <key-style
     56         latin:styleName="baseKeyDevanagariVowelSignO"
     57         latin:parentStyle="moreKeysDevanagariVowelSignO"
     58         latin:keySpec="&#x25CC;&#x094B;|&#x094B;"
     59         latin:keyLabelFlags="followKeyLetterRatio" />
     60 </merge>
     61