Xml文件  |  88行  |  3.11 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="alphabet|alphabetAutomaticShifted"
        >
            <!-- U+00AC: "¬" NOT SIGN -->
            <Key
                latin:keyLabel="`"
                latin:moreKeys="~"
                latin:additionalMoreKeys="&#x00AC;" />
            <!-- U+00A1: "¡" NVERTED EXCLAMATION MARK -->
            <Key
                latin:keyLabel="1"
                latin:additionalMoreKeys="!"
                latin:moreKeys="&#x00A1;,!text/more_keys_for_symbols_1" />
            <Key
                latin:keyLabel="2"
                latin:additionalMoreKeys="\@"
                latin:moreKeys="!text/more_keys_for_symbols_2" />
            <Key
                latin:keyLabel="3"
                latin:additionalMoreKeys="#"
                latin:moreKeys="!text/more_keys_for_symbols_3" />
            <Key
                latin:keyLabel="4"
                latin:additionalMoreKeys="$"
                latin:moreKeys="!text/more_keys_for_symbols_4" />
            <Key
                latin:keyLabel="5"
                latin:additionalMoreKeys="\\%"
                latin:moreKeys="!text/more_keys_for_symbols_5" />
            <Key
                latin:keyLabel="6"
                latin:additionalMoreKeys="^"
                latin:moreKeys="!text/more_keys_for_symbols_6" />
            <Key
                latin:keyLabel="7"
                latin:additionalMoreKeys="&amp;"
                latin:moreKeys="!text/more_keys_for_symbols_7" />
            <Key
                latin:keyLabel="8"
                latin:additionalMoreKeys="*,%"
                latin:moreKeys="!text/more_keys_for_symbols_8" />
            <Key
                latin:keyLabel="9"
                latin:additionalMoreKeys="("
                latin:moreKeys="!text/more_keys_for_symbols_9" />
            <Key
                latin:keyLabel="0"
                latin:additionalMoreKeys=")"
                latin:moreKeys="!text/more_keys_for_symbols_0" />
            <Key
                latin:keyLabel="-"
                latin:moreKeys="_" />
            <Key
                latin:keyLabel="="
                latin:moreKeys="+" />
        </case>
        <!-- keyboardLayoutSetElement="alphabet*Shifted|symbols*" -->
        <default>
            <include
                latin:keyboardLayout="@xml/keys_pcqwerty_symbols1" />
        </default>
    </switch>
</merge>