Xml文件  |  123行  |  4.9 KB

<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2012, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->

<merge
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
    <switch>
        <case
            latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
        >
            <Key
                latin:keyLabel="(" />
            <Key
                latin:keyLabel=")" />
            <!-- U+0E09: "ฉ" THAI CHARACTER CHO CHING -->
            <Key
                latin:keyLabel="&#x0E09;"
                latin:keyLabelFlags="fontNormal" />
            <!-- U+0E2E: "ฮ" THAI CHARACTER HO NOKHUK -->
            <Key
                latin:keyLabel="&#x0E2E;"
                latin:keyLabelFlags="fontNormal" />
            <!-- U+0020: " " SPACE
                 U+0E3A: " ฺ" THAI CHARACTER PHINTHU -->
            <!-- Note: The space character is needed as a preceding letter to draw some Thai
                 composing characters correctly. -->
            <Key
                latin:keyLabel="&#x20;&#x0E3A;"
                latin:code="0x0E3A"
                latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
            <!-- U+0020: " " SPACE
                 U+0E4C: " ์" THAI CHARACTER THANTHAKHAT -->
            <!-- Note: The space character is needed as a preceding letter to draw some Thai
                 composing characters correctly. -->
            <Key
                latin:keyLabel="&#x20;&#x0E4C;"
                latin:code="0x0E4C"
                latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
            <Key
                latin:keyLabel="\?" />
            <!-- U+0E12: "ฒ" THAI CHARACTER THO PHUTHAO -->
            <Key
                latin:keyLabel="&#x0E12;"
                latin:keyLabelFlags="fontNormal" />
            <!-- U+0E2C: "ฬ" THAI CHARACTER LO CHULA -->
            <Key
                latin:keyLabel="&#x0E2C;"
                latin:keyLabelFlags="fontNormal" />
            <!-- U+0E26: "ฦ" THAI CHARACTER LU -->
            <Key
                latin:keyLabel="&#x0E26;"
                latin:keyLabelFlags="fontNormal" />
        </case>
        <default>
            <!-- U+0E1C: "ผ" THAI CHARACTER PHO PHUNG -->
            <Key
                latin:keyLabel="&#x0E1C;"
                latin:keyLabelFlags="fontNormal" />
            <!-- U+0E1B: "ป" THAI CHARACTER PO PLA -->
            <Key
                latin:keyLabel="&#x0E1B;"
                latin:keyLabelFlags="fontNormal" />
            <!-- U+0E41: "แ" THAI CHARACTER SARA AE -->
            <Key
                latin:keyLabel="&#x0E41;"
                latin:keyLabelFlags="fontNormal" />
            <!-- U+0E2D: "อ" THAI CHARACTER O ANG -->
            <Key
                latin:keyLabel="&#x0E2D;"
                latin:keyLabelFlags="fontNormal" />
            <!-- U+0020: " " SPACE
                 U+0E34: " ิ" THAI CHARACTER SARA I -->
            <!-- Note: The space character is needed as a preceding letter to draw some Thai
                 composing characters correctly. -->
            <Key
                latin:keyLabel="&#x20;&#x0E34;"
                latin:code="0x0E34"
                latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
            <!-- U+0020: " " SPACE
                 U+0E37: " ื" THAI CHARACTER SARA UEE -->
            <!-- Note: The space character is needed as a preceding letter to draw some Thai
                 composing characters correctly. -->
            <Key
                latin:keyLabel="&#x20;&#x0E37;"
                latin:code="0x0E37"
                latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
            <!-- U+0E17: "ท" THAI CHARACTER THO THAHAN -->
            <Key
                latin:keyLabel="&#x0E17;"
                latin:keyLabelFlags="fontNormal" />
            <!-- U+0E21: "ม" THAI CHARACTER MO MA -->
            <Key
                latin:keyLabel="&#x0E21;"
                latin:keyLabelFlags="fontNormal" />
            <!-- U+0E43: "ใ" THAI CHARACTER SARA AI MAIMUAN -->
            <Key
                latin:keyLabel="&#x0E43;"
                latin:keyLabelFlags="fontNormal" />
            <!-- U+0E1D: "ฝ" THAI CHARACTER FO FA -->
            <Key
                latin:keyLabel="&#x0E1D;"
                latin:keyLabelFlags="fontNormal" />
        </default>
    </switch>
</merge>