diff options
| author | Jules Aguillon | 2023-01-30 23:58:47 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2023-01-30 23:58:47 +0100 |
| commit | 540384bb0a29b9e43dd4fe69fd5fc8f380fd6cbd (patch) | |
| tree | cf7a213bb421680a1eec252c5d13e04d757cba24 /res/xml | |
| parent | c7184303e9e291487641324468ec60417ef47bf7 (diff) | |
| download | unexpected-keyboard-540384bb0a29b9e43dd4fe69fd5fc8f380fd6cbd.tar.gz unexpected-keyboard-540384bb0a29b9e43dd4fe69fd5fc8f380fd6cbd.zip | |
Add optional number row
An option is added to enable an extra number row at the top of the
keyboard. Digits are removed from the keyboard while the number row is
visible.
Diffstat (limited to 'res/xml')
| -rw-r--r-- | res/xml/number_row.xml | 13 | ||||
| -rw-r--r-- | res/xml/settings.xml | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/res/xml/number_row.xml b/res/xml/number_row.xml new file mode 100644 index 0000000..de49a54 --- /dev/null +++ b/res/xml/number_row.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<row height="0.75"> + <key key0="1"/> + <key key0="2"/> + <key key0="3"/> + <key key0="4"/> + <key key0="5"/> + <key key0="6"/> + <key key0="7"/> + <key key0="8"/> + <key key0="9"/> + <key key0="0"/> +</row> diff --git a/res/xml/settings.xml b/res/xml/settings.xml index 8633ae0..4eccb02 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -5,6 +5,7 @@ <juloo.keyboard2.LayoutListPreference android:key="second_layout" android:title="@string/pref_second_layout_title" app:defaultString="@string/pref_second_layout_none"/> <ListPreference android:key="accents" android:title="@string/pref_accents_title" android:summary="%s" android:defaultValue="1" android:entries="@array/pref_accents_entries" android:entryValues="@array/pref_accents_values"/> <ListPreference android:key="show_numpad" android:title="@string/pref_show_numpad_title" android:summary="%s" android:defaultValue="1" android:entries="@array/pref_show_numpad_entries" android:entryValues="@array/pref_show_numpad_values"/> + <CheckBoxPreference android:key="number_row" android:title="@string/pref_number_row_title" android:summary="@string/pref_number_row_summary" android:defaultValue="false"/> <PreferenceScreen android:title="@string/pref_extra_keys_title"> <juloo.keyboard2.ExtraKeyCheckBoxPreference app:index="0"/> <juloo.keyboard2.ExtraKeyCheckBoxPreference app:index="1"/> |
