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

Commit 3ed057a0 authored by Jacob Nordfalk's avatar Jacob Nordfalk
Browse files

Esperanto keyboard



Universal esperanto keyboard. Has letters for all latin scripts, as users
will often need to type something in both Esperanto and other languages
(for example their country's).

Signed-off-by: default avatarJacob Nordfalk <jacob.nordfalk@gmail.com>
Change-Id: Ia8a739fa31a60e118d42ae9e8c62ddfd66e2ca35
parent b6b9f0a6
Loading
Loading
Loading
Loading
+61 −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"
>
    <include
        latin:keyboardLayout="@xml/key_styles_common" />
    <Row
        latin:keyWidth="9.0%p"
    >
        <include
            latin:keyboardLayout="@xml/rowkeys_esperanto1"
            latin:keyLabelFlags="disableAdditionalMoreKeys|disableKeyHintLabel" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="9.0%p"
    >
        <include
            latin:keyboardLayout="@xml/rowkeys_esperanto2" />
        <Key
            latin:keyStyle="enterKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="9.0%p"
    >
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="10.0%p" />
        <include
            latin:keyboardLayout="@xml/rowkeys_esperanto3" />
        <include
            latin:keyboardLayout="@xml/keys_comma_period" />
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <include
        latin:keyboardLayout="@xml/row_qwerty4" />
</merge>
+69 −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"
>
    <include
        latin:keyboardLayout="@xml/key_styles_common" />
    <Row
        latin:keyWidth="8.282%p"
    >
        <Key
            latin:keyStyle="tabKeyStyle"
            latin:keyLabelFlags="alignLeft"
            latin:keyWidth="7.969%p" />
        <include
            latin:keyboardLayout="@xml/rowkeys_esperanto1"
            latin:keyLabelFlags="disableAdditionalMoreKeys|disableKeyHintLabel" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyWidth="fillRight"/>
    </Row>
    <Row
        latin:keyWidth="8.125%p"
    >
        <Key
            latin:keyStyle="toSymbolKeyStyle"
            latin:keyLabelFlags="alignLeft"
            latin:keyWidth="10.167%"/>
        <include
            latin:keyboardLayout="@xml/rowkeys_esperanto2" />
        <Key
            latin:keyStyle="enterKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="8.047%p"
    >
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="13.829%p"/>
        <include
            latin:keyboardLayout="@xml/rowkeys_esperanto3" />
        <include
            latin:keyboardLayout="@xml/keys_comma_period" />
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <include
        latin:keyboardLayout="@xml/row_qwerty4" />
</merge>
+26 −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.
*/
-->

<Keyboard
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
    <include
        latin:keyboardLayout="@xml/rows_esperanto" />
</Keyboard>
+42 −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.
*/
-->

<KeyboardLayoutSet
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
    <Element
        latin:elementName="alphabet"
        latin:elementKeyboard="@xml/kbd_esperanto"
        latin:enableProximityCharsCorrection="true" />
    <Element
        latin:elementName="symbols"
        latin:elementKeyboard="@xml/kbd_symbols" />
    <Element
        latin:elementName="symbolsShifted"
        latin:elementKeyboard="@xml/kbd_symbols_shift" />
    <Element
        latin:elementName="phone"
        latin:elementKeyboard="@xml/kbd_phone" />
    <Element
        latin:elementName="phoneSymbols"
        latin:elementKeyboard="@xml/kbd_phone_symbols" />
    <Element
        latin:elementName="number"
        latin:elementKeyboard="@xml/kbd_number" />
</KeyboardLayoutSet>
+7 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
    el: Greek/greek
    en_US: English United States/qwerty
    en_GB: English Great Britain/qwerty
    eo: Esperanto/esperanto
    es: Spanish/spanish
    et: Estonian/nordic
    fa: Persian/arabic
@@ -132,6 +133,12 @@
            android:imeSubtypeMode="keyboard"
            android:imeSubtypeExtraValue="KeyboardLayoutSet=greek"
    />
    <subtype android:icon="@drawable/ic_subtype_keyboard"
            android:label="@string/subtype_generic"
            android:imeSubtypeLocale="eo"
            android:imeSubtypeMode="keyboard"
            android:imeSubtypeExtraValue="KeyboardLayoutSet=esperanto,AsciiCapable"
    />
    <subtype android:icon="@drawable/ic_subtype_keyboard"
            android:label="@string/subtype_generic"
            android:imeSubtypeLocale="es"
Loading