abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
authorJules Aguillon2022-01-31 00:04:02 +0100
committerJules Aguillon2022-01-31 00:04:02 +0100
commit7a451d5a362755b58e8ec325eb6224d79173930a (patch)
treede880261fa6fb3654e2c5c1b424419931e97820a
parent2d2f0dd51d5d463f4ed592ff26c0c85e2ba8d296 (diff)
downloadunexpected-keyboard-7a451d5a362755b58e8ec325eb6224d79173930a.tar.gz
unexpected-keyboard-7a451d5a362755b58e8ec325eb6224d79173930a.zip
Turn the key spacing options to ints
Float values were not rendered properly and the granularity isn't needed.
-rw-r--r--res/xml/settings.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index a70a323..22ec3d0 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -20,7 +20,7 @@
<juloo.common.IntSlideBarPreference android:key="key_height" android:title="@string/pref_key_height_title" android:summary="%sdp" android:defaultValue="50" min="30" max="90"/>
<juloo.common.IntSlideBarPreference android:key="horizontal_margin" android:title="@string/pref_horizontal_margin_title" android:summary="%sdp" android:defaultValue="3" min="0" max="20"/>
<juloo.common.SlideBarPreference android:key="character_size" android:title="@string/pref_character_size_title" android:summary="@string/pref_character_size_summary" android:defaultValue="1.0" min="0.8" max="1.2"/>
- <juloo.common.SlideBarPreference android:key="key_vertical_space" android:title="@string/pref_key_vertical_space" android:summary="%sdp" android:defaultValue="2.0" min="0.5" max="6.0"/>
- <juloo.common.SlideBarPreference android:key="key_horizontal_space" android:title="@string/pref_key_horizontal_space" android:summary="%sdp" android:defaultValue="2.0" min="0.5" max="6.0"/>
+ <juloo.common.IntSlideBarPreference android:key="key_vertical_space" android:title="@string/pref_key_vertical_space" android:summary="%sdp" android:defaultValue="2" min="0" max="8"/>
+ <juloo.common.IntSlideBarPreference android:key="key_horizontal_space" android:title="@string/pref_key_horizontal_space" android:summary="%sdp" android:defaultValue="2" min="0" max="8"/>
</PreferenceCategory>
</PreferenceScreen>