keyboard_layout_set_thai.xml revision 7c5cd5ec89c0d90c3dbac032c61ee04468ecdc87
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<KeyboardLayoutSet
22    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
23    <Feature
24        latin:supportedScript="thai" />
25    <Element
26        latin:elementName="alphabet"
27        latin:elementKeyboard="@xml/kbd_thai"
28        latin:enableProximityCharsCorrection="true" />
29    <Element
30        latin:elementName="alphabetAutomaticShifted"
31        latin:elementKeyboard="@xml/kbd_thai"
32        latin:enableProximityCharsCorrection="true" />
33    <!-- On these shifted alphabet layouts the proximity characters correction should be disabled
34         because the letters on these layouts aren't the ones in different case of the above
35         unshifted layouts. -->
36    <Element
37        latin:elementName="alphabetManualShifted"
38        latin:elementKeyboard="@xml/kbd_thai" />
39    <Element
40        latin:elementName="alphabetShiftLocked"
41        latin:elementKeyboard="@xml/kbd_thai" />
42    <Element
43        latin:elementName="alphabetShiftLockShifted"
44        latin:elementKeyboard="@xml/kbd_thai" />
45    <Element
46        latin:elementName="symbols"
47        latin:elementKeyboard="@xml/kbd_symbols" />
48    <Element
49        latin:elementName="symbolsShifted"
50        latin:elementKeyboard="@xml/kbd_symbols_shift" />
51    <Element
52        latin:elementName="phone"
53        latin:elementKeyboard="@xml/kbd_phone" />
54    <Element
55        latin:elementName="phoneSymbols"
56        latin:elementKeyboard="@xml/kbd_phone_symbols" />
57    <Element
58        latin:elementName="number"
59        latin:elementKeyboard="@xml/kbd_number" />
60</KeyboardLayoutSet>
61