diff options
| author | Jules Aguillon | 2022-11-13 00:24:23 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2022-11-13 00:24:23 +0100 |
| commit | 51b330c6168a8b0e0c16482254d4674fbe5476c7 (patch) | |
| tree | bc3b05120d606e386269322e7fab2694e20ee845 /res/xml/settings.xml | |
| parent | 815e30a505eb6766e29d85c2e1a5d8f4da9c83d3 (diff) | |
| download | unexpected-keyboard-51b330c6168a8b0e0c16482254d4674fbe5476c7.tar.gz unexpected-keyboard-51b330c6168a8b0e0c16482254d4674fbe5476c7.zip | |
Allow switching quickly between two layouts
A new option allow to choose a secondary layout, the switching key is
placed on the top edge of the space bar.
The "Programming layout" option was basically doing that but it was
possible to choose from a few layouts only. It is improved and renamed.
The 'LayoutListPreference' allows setting the string for the first entry
but otherwise share the rest of the array.
Add nice icons from materialdesignicons.
Diffstat (limited to 'res/xml/settings.xml')
| -rw-r--r-- | res/xml/settings.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml index 4920d6c..5d7f025 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <PreferenceCategory android:title="@string/pref_category_layout"> - <ListPreference android:key="layout" android:title="@string/pref_layout_title" android:summary="%s" android:defaultValue="system" android:entries="@array/pref_layout_entries" android:entryValues="@array/pref_layout_values"/> + <juloo.keyboard2.LayoutListPreference android:key="layout" android:title="@string/pref_layout_title" app:defaultString="@string/pref_layout_e_system"/> + <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"/> - <ListPreference android:key="programming_layout" android:title="@string/pref_programming_layout_title" android:summary="%s" android:defaultValue="none" android:entries="@array/pref_programming_layout_entries" android:entryValues="@array/pref_programming_layout_values"/> <PreferenceScreen android:title="@string/pref_extra_keys_title"> <juloo.keyboard2.ExtraKeyCheckBoxPreference app:index="0"/> <juloo.keyboard2.ExtraKeyCheckBoxPreference app:index="1"/> |
