Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78173bdf authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Support Dvorak layout

Bug: 4460018
Change-Id: I08a9b556720f6c4f7089a8838c0869c9f88f479c
parent 25b5e627
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -152,6 +152,8 @@
    <string name="subtype_generic_qwertz">%s (QWERTZ)</string>
    <!-- Description for generic AZERTY keyboard subtype -->
    <string name="subtype_generic_azerty">%s (AZERTY)</string>
    <!-- Description for generic Dvorak keyboard subtype -->
    <string name="subtype_generic_dvorak">%s (Dvorak)</string>

    <!-- dictionary pack package name /settings activity (for shared prefs and settings) -->
    <string name="dictionary_pack_package_name">com.google.android.inputmethod.latin.dictionarypack</string>
+48 −0
Original line number Diff line number Diff line
<?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:mode="email"
        >
            <Key
                latin:keyLabel="-" />
        </case>
        <case
            latin:mode="url"
        >
            <Key
                latin:keyLabel="/"
                latin:keyHintLabel=":"
                latin:moreKeys=":"
                latin:keyStyle="hasShiftedLetterHintStyle" />
        </case>
        <default>
            <Key
                latin:keyLabel="\?"
                latin:keyHintLabel="!"
                latin:moreKeys="!"
                latin:keyStyle="hasShiftedLetterHintStyle" />
        </default>
    </switch>
</merge>
+40 −0
Original line number Diff line number Diff line
<?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"
>
    <Key
        latin:keyLabel="\'"
        latin:keyHintLabel="&quot;"
        latin:moreKeys="!"
        latin:keyStyle="hasShiftedLetterHintStyle" />
    <Key
        latin:keyLabel=","
        latin:keyHintLabel="&lt;"
        latin:moreKeys="\?"
        latin:keyStyle="hasShiftedLetterHintStyle" />
    <Key
        latin:keyLabel="."
        latin:keyHintLabel="&gt;"
        latin:keyLabelFlags="hasPopupHint|preserveCase"
        latin:moreKeys="!text/more_keys_for_punctuation"
        latin:keyStyle="hasShiftedLetterHintStyle" />
</merge>
+46 −0
Original line number Diff line number Diff line
<?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"
>
    <Row
        latin:keyWidth="8.9%p"
    >
        <Key
            latin:keyStyle="toSymbolKeyStyle"
            latin:keyWidth="13.0%p" />
        <Key
            latin:keyStyle="tabKeyStyle" />
        <include
            latin:keyboardLayout="@xml/key_f1" />
        <include
            latin:keyboardLayout="@xml/key_space" />
        <include
            latin:keyboardLayout="@xml/key_question_exclamation" />
        <include
            latin:keyboardLayout="@xml/key_dash" />
        <Spacer
            latin:keyXPos="-10.00%p"
            latin:keyWidth="0%p" />
        <include
            latin:keyboardLayout="@xml/key_shortcut" />
    </Row>
</merge>
+47 −0
Original line number Diff line number Diff line
<?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"
>
    <Key
        latin:keyLabel="q" />
    <Key
        latin:keyLabel="j"
        latin:moreKeys="!text/more_keys_for_j" />
    <Key
        latin:keyLabel="k"
        latin:moreKeys="!text/more_keys_for_k" />
    <Key
        latin:keyLabel="x" />
    <Key
        latin:keyLabel="b" />
    <Key
        latin:keyLabel="m" />
    <Key
        latin:keyLabel="w"
        latin:moreKeys="!text/more_keys_for_w" />
    <Key
        latin:keyLabel="v"
        latin:moreKeys="!text/more_keys_for_v" />
    <Key
        latin:keyLabel="z"
        latin:moreKeys="!text/more_keys_for_z" />
</merge>
Loading