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

Commit 1b6290c5 authored by Georg Veichtlbauer's avatar Georg Veichtlbauer
Browse files

LatinIME: Add number row option

Change-Id: I6227cd517fb1d56e4b3daf1c03f03fa0e6ed736f
parent 9ce05ec6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -502,6 +502,7 @@
        <attr name="passwordInput" format="boolean" />
        <attr name="clobberSettingsKey" format="boolean" />
        <attr name="hasShortcutKey" format="boolean" />
        <attr name="numberRowEnabled" format="boolean" />
        <attr name="languageSwitchKeyEnabled" format="boolean" />
        <attr name="isMultiLine" format="boolean" />
        <attr name="imeAction" format="enum">
+4 −0
Original line number Diff line number Diff line
@@ -31,4 +31,8 @@ disposition rather than other common dispositions for Latin languages. [CHAR LIM

    <!-- Title of the settings for setting keyboard height -->
    <string name="prefs_keyboard_height_scale">Keyboard height scale</string>

    <!-- Preference item for enabling the number row -->
    <string name="number_row">Number row</string>
    <string name="number_row_summary">Always show a number row for all layouts that feature 4 rows of keys</string>
</resources>
+6 −0
Original line number Diff line number Diff line
@@ -24,6 +24,12 @@
        android:summary="@string/auto_cap_summary"
        android:defaultValue="true"
        android:persistent="true" />
    <CheckBoxPreference
        android:key="pref_show_number_row"
        android:title="@string/number_row"
        android:summary="@string/number_row_summary"
        android:defaultValue="false"
        android:persistent="true" />
    <CheckBoxPreference
        android:key="pref_key_use_double_space_period"
        android:title="@string/use_double_space_period"
+20 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2023 The LineageOS Project
     SPDX-License-Identifier: Apache-2.0
-->
<merge
    xmlns:latin="http://schemas.android.com/apk/res-auto">
    <switch>
        <case
            latin:numberRowEnabled="true"
            >
            <Row
                latin:keyWidth="10%p"
                >
                <include
                    latin:keyboardLayout="@xml/rowkeys_symbols1" />
            </Row>
        </case>
    </switch>
</merge>
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@

<merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
    <include latin:keyboardLayout="@xml/key_styles_common" />
    <include latin:keyboardLayout="@xml/row_number_keys" />
    <Row
        latin:keyWidth="9.091%p"
        latin:keyLabelFlags="fontNormal"
Loading