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             <Key
     29                 latin:keyLabel="+" />
     30             <!-- U+0E51: "" THAI DIGIT ONE -->
     31             <Key
     32                 latin:keyLabel="&#x0E51;"
     33                 latin:keyLabelFlags="fontNormal" />
     34             <!-- U+0E52: "" THAI DIGIT TWO -->
     35             <Key
     36                 latin:keyLabel="&#x0E52;"
     37                 latin:keyLabelFlags="fontNormal" />
     38             <!-- U+0E53: "" THAI DIGIT THREE -->
     39             <Key
     40                 latin:keyLabel="&#x0E53;"
     41                 latin:keyLabelFlags="fontNormal" />
     42             <!-- U+0E54: "" THAI DIGIT FOUR -->
     43             <Key
     44                 latin:keyLabel="&#x0E54;"
     45                 latin:keyLabelFlags="fontNormal" />
     46             <!-- U+0020: " " SPACE
     47                  U+0E39: " " THAI CHARACTER SARA UU -->
     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;&#x0E39;"
     52                 latin:code="0x0E39"
     53                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
     54             <!-- U+0E3F: "" THAI CURRENCY SYMBOL BAHT -->
     55             <Key
     56                 latin:keyLabel="&#x0E3F;"
     57                 latin:keyLabelFlags="fontNormal" />
     58             <!-- U+0E55: "" THAI DIGIT FIVE -->
     59             <Key
     60                 latin:keyLabel="&#x0E55;"
     61                 latin:keyLabelFlags="fontNormal" />
     62             <!-- U+0E56: "" THAI DIGIT SIX -->
     63             <Key
     64                 latin:keyLabel="&#x0E56;"
     65                 latin:keyLabelFlags="fontNormal" />
     66             <!-- U+0E57: "" THAI DIGIT SEVEN -->
     67             <Key
     68                 latin:keyLabel="&#x0E57;"
     69                 latin:keyLabelFlags="fontNormal" />
     70             <!-- U+0E58: "" THAI DIGIT EIGHT -->
     71             <Key
     72                 latin:keyLabel="&#x0E58;"
     73                 latin:keyLabelFlags="fontNormal" />
     74             <!-- U+0E59: "" THAI DIGIT NINE -->
     75             <Key
     76                 latin:keyLabel="&#x0E59;"
     77                 latin:keyLabelFlags="fontNormal" />
     78         </case>
     79         <default>
     80             <!-- U+0E45: "" THAI CHARACTER LAKKHANGYAO -->
     81             <Key
     82                 latin:keyLabel="&#x0E45;"
     83                 latin:keyLabelFlags="fontNormal" />
     84             <Key
     85                 latin:keyLabel="/" />
     86             <Key
     87                 latin:keyLabel="_" />
     88             <!-- U+0E20: "" THAI CHARACTER PHO SAMPHAO -->
     89             <Key
     90                 latin:keyLabel="&#x0E20;"
     91                 latin:keyLabelFlags="fontNormal" />
     92             <!-- U+0E16: "" THAI CHARACTER THO THUNG -->
     93             <Key
     94                 latin:keyLabel="&#x0E16;"
     95                 latin:keyLabelFlags="fontNormal" />
     96             <!-- U+0020: " " SPACE
     97                  U+0E38: " " THAI CHARACTER SARA U -->
     98             <!-- Note: The space character is needed as a preceding letter to draw some Thai
     99                  composing characters correctly. -->
    100             <Key
    101                 latin:keyLabel="&#x20;&#x0E38;"
    102                 latin:code="0x0E38"
    103                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
    104             <!-- U+0020: " " SPACE
    105                  U+0E36: " " THAI CHARACTER SARA UE -->
    106             <!-- Note: The space character is needed as a preceding letter to draw some Thai
    107                  composing characters correctly. -->
    108             <Key
    109                 latin:keyLabel="&#x20;&#x0E36;"
    110                 latin:code="0x0E36"
    111                 latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
    112             <!-- U+0E04: "" THAI CHARACTER KHO KHWAI -->
    113             <Key
    114                 latin:keyLabel="&#x0E04;"
    115                 latin:keyLabelFlags="fontNormal" />
    116             <!-- U+0E15: "" THAI CHARACTER TO TAO -->
    117             <Key
    118                 latin:keyLabel="&#x0E15;"
    119                 latin:keyLabelFlags="fontNormal" />
    120             <!-- U+0E08: "" THAI CHARACTER CHO CHAN -->
    121             <Key
    122                 latin:keyLabel="&#x0E08;"
    123                 latin:keyLabelFlags="fontNormal" />
    124             <!-- U+0E02: "" THAI CHARACTER KHO KHAI -->
    125             <Key
    126                 latin:keyLabel="&#x0E02;"
    127                 latin:keyLabelFlags="fontNormal" />
    128             <!-- U+0E0A: "" THAI CHARACTER CHO CHANG -->
    129             <Key
    130                 latin:keyLabel="&#x0E0A;"
    131                 latin:keyLabelFlags="fontNormal" />
    132         </default>
    133     </switch>
    134 </merge>
    135