rows_thai.xml revision 92ac2aa8ed3ad889f5a31336900e3c46264df97d
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    <include latin:keyboardLayout="@xml/key_styles_common" />
23    <Row
24        latin:keyWidth="7.5%p"
25        latin:keyLabelFlags="fontNormal"
26    >
27        <include latin:keyboardLayout="@xml/rowkeys_thai1" />
28        <Key
29            latin:keyStyle="deleteKeyStyle"
30            latin:keyWidth="fillRight" />
31    </Row>
32    <Row
33        latin:keyWidth="7.5%p"
34        latin:keyLabelFlags="fontNormal"
35    >
36        <include
37            latin:keyboardLayout="@xml/rowkeys_thai2"
38            latin:keyXPos="2.5%p" />
39        <include latin:keyboardLayout="@xml/key_thai_kho_khuat" />
40    </Row>
41    <Row
42        latin:keyWidth="7.5%p"
43        latin:keyLabelFlags="fontNormal"
44    >
45        <include
46            latin:keyboardLayout="@xml/rowkeys_thai3"
47            latin:keyXPos="5.0%p" />
48        <Key
49            latin:keyStyle="enterKeyStyle"
50            latin:keyWidth="fillRight" />
51    </Row>
52    <Row
53        latin:keyWidth="7.5%p"
54        latin:keyLabelFlags="fontNormal"
55    >
56        <Key
57            latin:keyStyle="shiftKeyStyle"
58            latin:keyWidth="10.0%p" />
59        <include latin:keyboardLayout="@xml/rowkeys_thai4" />
60        <switch>
61            <case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
62                <Spacer />
63            </case>
64            <default>
65                <include latin:keyboardLayout="@xml/keys_exclamation_question" />
66            </default>
67        </switch>
68    </Row>
69    <include latin:keyboardLayout="@xml/row_qwerty4" />
70</merge>
71