Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2012, 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             <!-- U+0E50: "" THAI DIGIT ZERO -->
     29             <Key
     30                 latin:keyLabel="&#x0E50;"
     31                 latin:keyLabelFlags="fontNormal" />
     32             <Key
     33                 latin:keyLabel="&quot;" />
     34             <!-- U+0E0E: "" THAI CHARACTER DO CHADA -->
     35             <Key
     36                 latin:keyLabel="&#x0E0E;"
     37                 latin:keyLabelFlags="fontNormal" />
     38             <!-- U+0E11: "" THAI CHARACTER THO NANGMONTHO -->
     39             <Key
     40                 latin:keyLabel="&#x0E11;"
     41                 latin:keyLabelFlags="fontNormal" />
     42             <!-- U+0E18: "" THAI CHARACTER THO THONG -->
     43             <Key
     44                 latin:keyLabel="&#x0E18;"
     45                 latin:keyLabelFlags="fontNormal" />
     46             <!-- U+0020: " " SPACE
     47                  U+0E4D: " " THAI CHARACTER THANTHAKHAT -->
     48             <!-- Note: The space character is needed as a preceding letter to draw some Thai
     49                  composing characters correctly. -->
     50             <Key
     51                 latin:keyLabel="&#x20;&#x0E4D;"
     52                 latin:code="0x0E4D"
     53                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     54             <!-- U+0020: " " SPACE
     55                  U+0E4A: " " THAI CHARACTER MAI TRI -->
     56             <!-- Note: The space character is needed as a preceding letter to draw some Thai
     57                  composing characters correctly. -->
     58             <Key
     59                 latin:keyLabel="&#x20;&#x0E4A;"
     60                 latin:code="0x0E4A"
     61                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     62             <!-- U+0E13: "" THAI CHARACTER NO NEN -->
     63             <Key
     64                 latin:keyLabel="&#x0E13;"
     65                 latin:keyLabelFlags="fontNormal" />
     66             <!-- U+0E2F: "" THAI CHARACTER PAIYANNOI -->
     67             <Key
     68                 latin:keyLabel="&#x0E2F;"
     69                 latin:keyLabelFlags="fontNormal" />
     70             <!-- U+0E0D: "" THAI CHARACTER YO YING -->
     71             <Key
     72                 latin:keyLabel="&#x0E0D;"
     73                 latin:keyLabelFlags="fontNormal" />
     74             <!-- U+0E10: "" THAI CHARACTER THO THAN -->
     75             <Key
     76                 latin:keyLabel="&#x0E10;"
     77                 latin:keyLabelFlags="fontNormal" />
     78             <Key
     79                 latin:keyLabel="," />
     80         </case>
     81         <default>
     82             <!-- U+0E46: "" THAI CHARACTER MAIYAMOK
     83                  U+0E50: "" THAI DIGIT ZERO -->
     84             <Key
     85                 latin:keyLabel="&#x0E46;"
     86                 latin:keyHintLabel="0"
     87                 latin:additionalMoreKeys="0"
     88                 latin:moreKeys="&#x0E50;"
     89                 latin:keyLabelFlags="fontNormal" />
     90             <!-- U+0E44: "" THAI CHARACTER SARA AI MAIMALAI -->
     91             <Key
     92                 latin:keyLabel="&#x0E44;"
     93                 latin:keyLabelFlags="fontNormal" />
     94             <!-- U+0E33: "" THAI CHARACTER SARA AM -->
     95             <Key
     96                 latin:keyLabel="&#x0E33;"
     97                 latin:keyLabelFlags="fontNormal" />
     98             <!-- U+0E1E: "" THAI CHARACTER PHO PHAN -->
     99             <Key
    100                 latin:keyLabel="&#x0E1E;"
    101                 latin:keyLabelFlags="fontNormal" />
    102             <!-- U+0E30: "" THAI CHARACTER SARA A -->
    103             <Key
    104                 latin:keyLabel="&#x0E30;"
    105                 latin:keyLabelFlags="fontNormal" />
    106             <!-- U+0020: " " SPACE
    107                  U+0E31: " " THAI CHARACTER MAI HAN-AKAT -->
    108             <!-- Note: The space character is needed as a preceding letter to draw some Thai
    109                  composing characters correctly. -->
    110             <Key
    111                 latin:keyLabel="&#x20;&#x0E31;"
    112                 latin:code="0x0E31"
    113                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
    114             <!-- U+0020: " " SPACE
    115                  U+0E35: " " HAI CHARACTER SARA II -->
    116             <!-- Note: The space character is needed as a preceding letter to draw some Thai
    117                  composing characters correctly. -->
    118             <Key
    119                 latin:keyLabel="&#x20;&#x0E35;"
    120                 latin:code="0x0E35"
    121                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
    122             <!-- U+0E23: "" THAI CHARACTER RO RUA -->
    123             <Key
    124                 latin:keyLabel="&#x0E23;"
    125                 latin:keyLabelFlags="fontNormal" />
    126             <!-- U+0E19: "" THAI CHARACTER NO NU -->
    127             <Key
    128                 latin:keyLabel="&#x0E19;"
    129                 latin:keyLabelFlags="fontNormal" />
    130             <!-- U+0E22: "" THAI CHARACTER YO YAK -->
    131             <Key
    132                 latin:keyLabel="&#x0E22;"
    133                 latin:keyLabelFlags="fontNormal" />
    134             <!-- U+0E1A: "" THAI CHARACTER BO BAIMAI -->
    135             <Key
    136                 latin:keyLabel="&#x0E1A;"
    137                 latin:keyLabelFlags="fontNormal" />
    138             <!-- U+0E25: "" THAI CHARACTER LO LING -->
    139             <Key
    140                 latin:keyLabel="&#x0E25;"
    141                 latin:keyLabelFlags="fontNormal" />
    142         </default>
    143     </switch>
    144 </merge>
    145