abouttreesummaryrefslogcommitdiff
path: root/res/xml/settings.xml
diff options
context:
space:
mode:
authorJules Aguillon2021-04-28 00:23:52 +0200
committerJules Aguillon2021-04-29 01:06:51 +0200
commitd00576ac2d7605c48034dc52e6622f48f680d4ae (patch)
tree4e52e2c1ff1785a2f762fd5de134dfe08a064802 /res/xml/settings.xml
parentc86a11944873534c140cd07b7c91d63c939b45b6 (diff)
downloadunexpected-keyboard-d00576ac2d7605c48034dc52e6622f48f680d4ae.tar.gz
unexpected-keyboard-d00576ac2d7605c48034dc52e6622f48f680d4ae.zip
Add the "layout" option again
Some versions of android don't allow to configure several languages.
Diffstat (limited to 'res/xml/settings.xml')
-rw-r--r--res/xml/settings.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index d56f029..f943557 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -1,6 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/pref_category_layout">
+ <ListPreference
+ android:key="layout"
+ android:title="@string/pref_layout_title"
+ android:summary="@string/pref_layout_summary"
+ android:defaultValue="system"
+ android:entries="@array/pref_layout_entries"
+ android:entryValues="@array/pref_layout_values" />
+ />
<CheckBoxPreference
android:key="disable_accent_keys"
android:title="@string/pref_disable_accent_keys_title"