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

Commit 855116a8 authored by navdra's avatar navdra
Browse files

Croatian LatinIME keyboard layout and spellchecker support

Change-Id: Ie980ea42fae93f8aeb1ed6628e83cae0db4ae523
parent c1b2e0e9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
    latin:keyboardLocale="hr"
>
    <!-- TODO: Dedicated Croatian layout especially for tablet. -->
    <include
        latin:keyboardLayout="@xml/kbd_rows_qwertz" />
        latin:keyboardLayout="@xml/kbd_rows_croatian" />
</Keyboard>
+118 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2011, 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/kbd_key_styles" />
    <Row
        latin:keyWidth="8.0%p"
    >
        <Key
            latin:keyLabel="q"
            latin:keyXPos="2.15%p" />
        <Key
            latin:keyLabel="w" />
        <Key
            latin:keyLabel="e" />
        <Key
            latin:keyLabel="r" />
        <Key
            latin:keyLabel="t" />
        <Key
            latin:keyLabel="z" />
        <Key
            latin:keyLabel="u" />
        <Key
            latin:keyLabel="i" />
        <Key
            latin:keyLabel="o" />
        <Key
            latin:keyLabel="p" />
        <Key
            latin:keyLabel="š" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyXPos="-10.0%p"
            latin:keyWidth="fillBoth" />
    </Row>
    <Row
        latin:keyWidth="7.9%p"
    >
        <Key
            latin:keyLabel="a" />
        <Key
            latin:keyLabel="s" />
        <Key
            latin:keyLabel="d" />
        <Key
            latin:keyLabel="f" />
        <Key
            latin:keyLabel="g" />
        <Key
            latin:keyLabel="h" />
        <Key
            latin:keyLabel="j" />
        <Key
            latin:keyLabel="k" />
        <Key
            latin:keyLabel="l" />
        <Key
            latin:keyLabel="č" />
        <Key
            latin:keyLabel="ć" />
        <Key
            latin:keyStyle="returnKeyStyle"
            latin:keyXPos="-14.6%p"
            latin:keyWidth="fillBoth" />
    </Row>
    <Row
        latin:keyWidth="7.5%p"
    >
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="8.0%p" />
        <Key
            latin:keyLabel="y" />
        <Key
            latin:keyLabel="x" />
        <Key
            latin:keyLabel="c" />
        <Key
            latin:keyLabel="v" />
        <Key
            latin:keyLabel="b" />
        <Key
            latin:keyLabel="n" />
        <Key
            latin:keyLabel="m" />
        <Key
            latin:keyLabel="đ" />
        <Key
            latin:keyLabel="ž" />
        <include
            latin:keyboardLayout="@xml/kbd_row3_comma_period" />
        <include
            latin:keyboardLayout="@xml/kbd_row3_smiley" />
    </Row>
    <include
        latin:keyboardLayout="@xml/kbd_qwerty_row4" />
</merge>
+123 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2011, 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/kbd_key_styles" />
    <Row
        latin:keyWidth="7.125%p"
    >
        <Key
            latin:keyStyle="tabKeyStyle"
            latin:keyLabelOption="alignLeft" />
        <Key
            latin:keyLabel="q" />
        <Key
            latin:keyLabel="w" />
        <Key
            latin:keyLabel="e" />
        <Key
            latin:keyLabel="r" />
        <Key
            latin:keyLabel="t" />
        <Key
            latin:keyLabel="z" />
        <Key
            latin:keyLabel="u" />
        <Key
            latin:keyLabel="i" />
        <Key
            latin:keyLabel="o" />
        <Key
            latin:keyLabel="p" />
        <Key
            latin:keyLabel="š" />
        <Key
            latin:keyLabel="đ" />
        <Key
            latin:keyLabel="ž"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="7.250%p"
    >
        <Key
            latin:keyStyle="toSymbolKeyStyle"
            latin:keyLabelOption="alignLeft"
            latin:keyWidth="11.172%p" />
        <Key
            latin:keyLabel="a" />
        <Key
            latin:keyLabel="s" />
        <Key
            latin:keyLabel="d" />
        <Key
            latin:keyLabel="f" />
        <Key
            latin:keyLabel="g" />
        <Key
            latin:keyLabel="h" />
        <Key
            latin:keyLabel="j" />
        <Key
            latin:keyLabel="k" />
        <Key
            latin:keyLabel="l" />
        <Key
            latin:keyLabel="č" />
        <Key
            latin:keyLabel="ć" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyXPos="-9.219%p"
            latin:keyWidth="fillBoth" />
    </Row>
    <Row
        latin:keyWidth="7.250%p"
    >
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="13.829%p" />
        <Key
            latin:keyLabel="y" />
        <Key
            latin:keyLabel="x" />
        <Key
            latin:keyLabel="c" />
        <Key
            latin:keyLabel="v" />
        <Key
            latin:keyLabel="b" />
        <Key
            latin:keyLabel="n" />
        <Key
            latin:keyLabel="m" />
        <include
            latin:keyboardLayout="@xml/kbd_row3_comma_period" />
        <Key
            latin:keyStyle="returnKeyStyle"
            latin:keyXPos="-13.750%p"
            latin:keyWidth="fillRight" />
    </Row>
    <include
        latin:keyboardLayout="@xml/kbd_qwerty_row4" />
</merge>
+130 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2011, 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/kbd_key_styles" />
    <Row
        latin:keyWidth="9.091%p"
    >
        <Key
            latin:keyLabel="q"
            latin:keyHintLabel="1"
            latin:moreKeys="1" />
        <Key
            latin:keyLabel="w"
            latin:keyHintLabel="2"
            latin:moreKeys="2" />
        <Key
            latin:keyLabel="e"
            latin:keyHintLabel="3"
            latin:moreKeys="3" />
        <Key
            latin:keyLabel="r"
            latin:keyHintLabel="4"
            latin:moreKeys="4" />
        <Key
            latin:keyLabel="t"
            latin:keyHintLabel="5"
            latin:moreKeys="5" />
        <Key
            latin:keyLabel="z"
            latin:keyHintLabel="6"
            latin:moreKeys="6" />
        <Key
            latin:keyLabel="u"
            latin:keyHintLabel="7"
            latin:moreKeys="7" />
        <Key
            latin:keyLabel="i"
            latin:keyHintLabel="8"
            latin:moreKeys="8" />
        <Key
            latin:keyLabel="o"
            latin:keyHintLabel="9"
            latin:moreKeys="9" />
        <Key
            latin:keyLabel="p"
            latin:keyHintLabel="0"
            latin:moreKeys="0" />
        <Key
            latin:keyLabel="š"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="9.091%p"
    >
        <Key
            latin:keyLabel="a" />
        <Key
            latin:keyLabel="s" />
        <Key
            latin:keyLabel="d" />
        <Key
            latin:keyLabel="f" />
        <Key
            latin:keyLabel="g" />
        <Key
            latin:keyLabel="h" />
        <Key
            latin:keyLabel="j" />
        <Key
            latin:keyLabel="k" />
        <Key
            latin:keyLabel="l" />
        <Key
            latin:keyLabel="č" />
        <Key
            latin:keyLabel="ć"
            latin:keyWidth="fillRight" />
    </Row>
    <Row
        latin:keyWidth="8.5%p"
    >
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="11.75%p" />
        <Key
            latin:keyLabel="y" />
        <Key
            latin:keyLabel="x" />
        <Key
            latin:keyLabel="c" />
        <Key
            latin:keyLabel="v" />
        <Key
            latin:keyLabel="b" />
        <Key
            latin:keyLabel="n" />
        <Key
            latin:keyLabel="m" />
        <Key
            latin:keyLabel="đ" />
        <Key
            latin:keyLabel="ž" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyWidth="fillRight" />
    </Row>
    <include
        latin:keyboardLayout="@xml/kbd_qwerty_row4" />
</merge>
+4 −0
Original line number Diff line number Diff line
@@ -46,4 +46,8 @@
            android:label="@string/subtype_generic"
            android:subtypeLocale="el"
    />
    <subtype
            android:label="@string/subtype_generic"
            android:subtypeLocale="hr"
    />
</spell-checker>