abouttreesummaryrefslogcommitdiff
path: root/res/xml/settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml/settings.xml')
-rw-r--r--res/xml/settings.xml120
1 files changed, 21 insertions, 99 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index a581896..568b6c1 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -1,102 +1,24 @@
<?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" />
- />
- <ListPreference
- android:key="accents"
- android:title="@string/pref_accents_title"
- android:summary="@string/pref_accents_summary"
- android:defaultValue="@string/pref_accents_default"
- android:entries="@array/pref_accents_entries"
- android:entryValues="@array/pref_accents_values" />
- </PreferenceCategory>
- <PreferenceCategory android:title="@string/pref_category_typing">
- <juloo.common.SlideBarPreference
- android:key="sub_value_dist"
- android:title="@string/pref_preci_title"
- android:summary="@string/pref_preci_summary"
- android:defaultValue="10.0"
- min="5.0"
- max="25.0"
- />
- <juloo.common.IntSlideBarPreference
- android:key="longpress_timeout"
- android:title="@string/pref_long_timeout_title"
- android:summary="@string/pref_long_timeout_summary"
- android:defaultValue="600"
- min="50"
- max="2000"
- />
- <juloo.common.IntSlideBarPreference
- android:key="longpress_interval"
- android:title="@string/pref_long_interval_title"
- android:summary="@string/pref_long_interval_summary"
- android:defaultValue="25"
- min="5"
- max="100"
- />
- <CheckBoxPreference
- android:key="precise_repeat"
- android:title="@string/pref_precise_repeat_title"
- android:summary="@string/pref_precise_repeat_summary"
- android:defaultValue="true"
- />
- </PreferenceCategory>
- <PreferenceCategory android:title="@string/pref_category_vibrate">
- <CheckBoxPreference
- android:key="vibrate_enabled"
- android:title="@string/pref_vibrate_title"
- android:summary="@string/pref_vibrate_summary"
- android:defaultValue="true"
- />
- <juloo.common.IntSlideBarPreference
- android:key="vibrate_duration"
- android:title="@string/pref_vibrate_duration_title"
- android:summary="@string/pref_vibrate_duration_summary"
- android:defaultValue="20"
- min="5"
- max="50"
- />
- </PreferenceCategory>
- <PreferenceCategory android:title="@string/pref_category_style">
- <juloo.common.IntSlideBarPreference
- android:key="margin_bottom"
- android:title="@string/pref_margin_bottom_title"
- android:summary="@string/pref_margin_bottom_summary"
- android:defaultValue="5"
- min="0"
- max="100"
- />
- <juloo.common.IntSlideBarPreference
- android:key="key_height"
- android:title="@string/pref_key_height_title"
- android:summary="@string/pref_key_height_summary"
- android:defaultValue="50"
- min="30"
- max="90"
- />
- <juloo.common.IntSlideBarPreference
- android:key="horizontal_margin"
- android:title="@string/pref_horizontal_margin_title"
- android:summary="@string/pref_horizontal_margin_summary"
- 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"
- />
- </PreferenceCategory>
+ <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"/>
+ /&gt;
+ <ListPreference android:key="accents" android:title="@string/pref_accents_title" android:summary="@string/pref_accents_summary" android:defaultValue="@string/pref_accents_default" android:entries="@array/pref_accents_entries" android:entryValues="@array/pref_accents_values"/>
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/pref_category_typing">
+ <juloo.common.SlideBarPreference android:key="sub_value_dist" android:title="@string/pref_preci_title" android:summary="@string/pref_preci_summary" android:defaultValue="10.0" min="5.0" max="25.0"/>
+ <juloo.common.IntSlideBarPreference android:key="longpress_timeout" android:title="@string/pref_long_timeout_title" android:summary="@string/pref_long_timeout_summary" android:defaultValue="600" min="50" max="2000"/>
+ <juloo.common.IntSlideBarPreference android:key="longpress_interval" android:title="@string/pref_long_interval_title" android:summary="@string/pref_long_interval_summary" android:defaultValue="25" min="5" max="100"/>
+ <CheckBoxPreference android:key="precise_repeat" android:title="@string/pref_precise_repeat_title" android:summary="@string/pref_precise_repeat_summary" android:defaultValue="true"/>
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/pref_category_vibrate">
+ <CheckBoxPreference android:key="vibrate_enabled" android:title="@string/pref_vibrate_title" android:summary="@string/pref_vibrate_summary" android:defaultValue="true"/>
+ <juloo.common.IntSlideBarPreference android:key="vibrate_duration" android:title="@string/pref_vibrate_duration_title" android:summary="@string/pref_vibrate_duration_summary" android:defaultValue="20" min="5" max="50"/>
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/pref_category_style">
+ <juloo.common.IntSlideBarPreference android:key="margin_bottom" android:title="@string/pref_margin_bottom_title" android:summary="@string/pref_margin_bottom_summary" android:defaultValue="5" min="0" max="100"/>
+ <juloo.common.IntSlideBarPreference android:key="key_height" android:title="@string/pref_key_height_title" android:summary="@string/pref_key_height_summary" android:defaultValue="50" min="30" max="90"/>
+ <juloo.common.IntSlideBarPreference android:key="horizontal_margin" android:title="@string/pref_horizontal_margin_title" android:summary="@string/pref_horizontal_margin_summary" 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"/>
+ </PreferenceCategory>
</PreferenceScreen>