abouttreesummaryrefslogcommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml8
-rw-r--r--res/xml/settings.xml26
2 files changed, 34 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 103d0d9..0928cce 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -27,4 +27,12 @@
<string name="pref_vibrate_duration_title">Duration</string>
<string name="pref_vibrate_duration_summary">%sms</string>
+ <string name="pref_category_style">Style</string>
+ <string name="pref_margin_bottom_title">Margin bottom</string>
+ <string name="pref_margin_bottom_summary">%sdp</string>
+ <string name="pref_key_height_title">Key height</string>
+ <string name="pref_key_height_summary">%sdp</string>
+ <string name="pref_horizontal_margin_title">Horizontal margin</string>
+ <string name="pref_horizontal_margin_summary">%sdp</string>
+
</resources>
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index fe6dbef..8256e17 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -50,4 +50,30 @@
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="60"
+ />
+ <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"
+ />
+ </PreferenceCategory>
</PreferenceScreen>