diff options
| author | jaguillo | 2015-09-30 22:47:18 +0200 |
|---|---|---|
| committer | jaguillo | 2015-09-30 22:47:18 +0200 |
| commit | b8b0f412d3011fc5e8cb571d65a0fd7a6e09a0f8 (patch) | |
| tree | f3b0ef1f77ae917c15c23169b640c2bf6a9a7395 /res | |
| parent | ca503b43a87b5f4112e0925642d84f65dd3ba9ee (diff) | |
| download | unexpected-keyboard-b8b0f412d3011fc5e8cb571d65a0fd7a6e09a0f8.tar.gz unexpected-keyboard-b8b0f412d3011fc5e8cb571d65a0fd7a6e09a0f8.zip | |
Add margin_bottom, key_height and horizontal_margin configs
Diffstat (limited to 'res')
| -rw-r--r-- | res/values/strings.xml | 8 | ||||
| -rw-r--r-- | res/xml/settings.xml | 26 |
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..2bc4299 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="50" + /> + <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="70" + /> + <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="15" + /> + </PreferenceCategory> </PreferenceScreen> |
