• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <Element
24        latin:elementName="alphabet"
25        latin:elementKeyboard="@xml/kbd_thai"
26        latin:enableProximityCharsCorrection="true" />
27    <Element
28        latin:elementName="alphabetAutomaticShifted"
29        latin:elementKeyboard="@xml/kbd_thai"
30        latin:enableProximityCharsCorrection="true" />
31    <!-- On these shifted alphabet layouts the proximity characters correction should be disabled
32         because the letters on these layouts aren't the ones in different case of the above
33         unshifted layouts. -->
34    <Element
35        latin:elementName="alphabetManualShifted"
36        latin:elementKeyboard="@xml/kbd_thai" />
37    <Element
38        latin:elementName="alphabetShiftLocked"
39        latin:elementKeyboard="@xml/kbd_thai" />
40    <Element
41        latin:elementName="alphabetShiftLockShifted"
42        latin:elementKeyboard="@xml/kbd_thai" />
43    <Element
44        latin:elementName="symbols"
45        latin:elementKeyboard="@xml/kbd_thai_symbols" />
46    <Element
47        latin:elementName="symbolsShifted"
48        latin:elementKeyboard="@xml/kbd_thai_symbols_shift" />
49    <Element
50        latin:elementName="phone"
51        latin:elementKeyboard="@xml/kbd_phone" />
52    <Element
53        latin:elementName="phoneSymbols"
54        latin:elementKeyboard="@xml/kbd_phone_symbols" />
55    <Element
56        latin:elementName="number"
57        latin:elementKeyboard="@xml/kbd_number" />
58</KeyboardLayoutSet>
59