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 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
22    <switch>
23        <case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
24            <Key
25                latin:keySpec="+"
26                latin:keyLabelFlags="fontDefault" />
27            <!-- U+0E51: "๑" THAI DIGIT ONE -->
28            <Key latin:keySpec="&#x0E51;" />
29            <!-- U+0E52: "๒" THAI DIGIT TWO -->
30            <Key latin:keySpec="&#x0E52;" />
31            <!-- U+0E53: "๓" THAI DIGIT THREE -->
32            <Key latin:keySpec="&#x0E53;" />
33            <!-- U+0E54: "๔" THAI DIGIT FOUR -->
34            <Key latin:keySpec="&#x0E54;" />
35            <!-- U+0020: " " SPACE
36                 U+0E39: " ู" THAI CHARACTER SARA UU -->
37            <!-- Note: The space character is needed as a preceding letter to draw some Thai
38                 composing characters correctly. -->
39            <Key
40                latin:keySpec="&#x20;&#x0E39;|&#x0E39;"
41                latin:keyLabelFlags="followKeyLetterRatio" />
42            <!-- U+0E3F: "฿" THAI CURRENCY SYMBOL BAHT -->
43            <Key latin:keySpec="&#x0E3F;" />
44            <!-- U+0E55: "๕" THAI DIGIT FIVE -->
45            <Key latin:keySpec="&#x0E55;" />
46            <!-- U+0E56: "๖" THAI DIGIT SIX -->
47            <Key latin:keySpec="&#x0E56;" />
48            <!-- U+0E57: "๗" THAI DIGIT SEVEN -->
49            <Key latin:keySpec="&#x0E57;" />
50            <!-- U+0E58: "๘" THAI DIGIT EIGHT -->
51            <Key latin:keySpec="&#x0E58;" />
52            <!-- U+0E59: "๙" THAI DIGIT NINE -->
53            <Key latin:keySpec="&#x0E59;" />
54        </case>
55        <default>
56            <!-- U+0E45: "ๅ" THAI CHARACTER LAKKHANGYAO -->
57            <Key latin:keySpec="&#x0E45;" />
58            <!-- U+0E51: "๑" THAI DIGIT ONE -->
59            <Key
60                latin:keySpec="/"
61                latin:keyHintLabel="1"
62                latin:additionalMoreKeys="1"
63                latin:moreKeys="&#x0E51;"
64                latin:keyLabelFlags="fontDefault" />
65            <!-- U+0E52: "๒" THAI DIGIT TWO -->
66            <Key
67                latin:keySpec="_"
68                latin:keyHintLabel="2"
69                latin:additionalMoreKeys="2"
70                latin:moreKeys="&#x0E52;"
71                latin:keyLabelFlags="fontDefault" />
72            <!-- U+0E20: "ภ" THAI CHARACTER PHO SAMPHAO
73                 U+0E53: "๓" THAI DIGIT THREE -->
74            <Key
75                latin:keySpec="&#x0E20;"
76                latin:keyHintLabel="3"
77                latin:additionalMoreKeys="3"
78                latin:moreKeys="&#x0E53;" />
79            <!-- U+0E16: "ถ" THAI CHARACTER THO THUNG
80                 U+0E54: "๔" THAI DIGIT FOUR -->
81            <Key
82                latin:keySpec="&#x0E16;"
83                latin:keyHintLabel="4"
84                latin:additionalMoreKeys="4"
85                latin:moreKeys="&#x0E54;" />
86            <!-- U+0020: " " SPACE
87                 U+0E38: " ุ" THAI CHARACTER SARA U -->
88            <!-- Note: The space character is needed as a preceding letter to draw some Thai
89                 composing characters correctly. -->
90            <Key
91                latin:keySpec="&#x20;&#x0E38;|&#x0E38;"
92                latin:keyLabelFlags="followKeyLetterRatio" />
93            <!-- U+0020: " " SPACE
94                 U+0E36: " ึ" THAI CHARACTER SARA UE -->
95            <!-- Note: The space character is needed as a preceding letter to draw some Thai
96                 composing characters correctly. -->
97            <Key
98                latin:keySpec="&#x20;&#x0E36;|&#x0E36;"
99                latin:keyLabelFlags="followKeyLetterRatio" />
100            <!-- U+0E04: "ค" THAI CHARACTER KHO KHWAI
101                 U+0E55: "๕" THAI DIGIT FIVE -->
102            <Key
103                latin:keySpec="&#x0E04;"
104                latin:keyHintLabel="5"
105                latin:additionalMoreKeys="5"
106                latin:moreKeys="&#x0E55;" />
107            <!-- U+0E15: "ต" THAI CHARACTER TO TAO
108                 U+0E56: "๖" THAI DIGIT SIX -->
109            <Key
110                latin:keySpec="&#x0E15;"
111                latin:keyHintLabel="6"
112                latin:additionalMoreKeys="6"
113                latin:moreKeys="&#x0E56;" />
114            <!-- U+0E08: "จ" THAI CHARACTER CHO CHAN
115                 U+0E57: "๗" THAI DIGIT SEVEN -->
116            <Key
117                latin:keySpec="&#x0E08;"
118                latin:keyHintLabel="7"
119                latin:additionalMoreKeys="7"
120                latin:moreKeys="&#x0E57;" />
121            <!-- U+0E02: "ข" THAI CHARACTER KHO KHAI
122                 U+0E58: "๘" THAI DIGIT EIGHT -->
123            <Key
124                latin:keySpec="&#x0E02;"
125                latin:keyHintLabel="8"
126                latin:additionalMoreKeys="8"
127                latin:moreKeys="&#x0E58;" />
128            <!-- U+0E0A: "ช" THAI CHARACTER CHO CHANG
129                 U+0E59: "๙" THAI DIGIT NINE -->
130            <Key
131                latin:keySpec="&#x0E0A;"
132                latin:keyHintLabel="9"
133                latin:additionalMoreKeys="9"
134                latin:moreKeys="&#x0E59;" />
135        </default>
136    </switch>
137</merge>
138