diff options
| author | jaguillo | 2015-09-30 22:47:18 +0200 |
|---|---|---|
| committer | jaguillo | 2015-09-30 22:48:16 +0200 |
| commit | 81ec226fcf6c154d4d4c30cfd74815b2ce562b25 (patch) | |
| tree | 1e7e012e759cdb49bb36abd019da5372e9cc2922 /res | |
| parent | ca503b43a87b5f4112e0925642d84f65dd3ba9ee (diff) | |
| download | unexpected-keyboard-81ec226fcf6c154d4d4c30cfd74815b2ce562b25.tar.gz unexpected-keyboard-81ec226fcf6c154d4d4c30cfd74815b2ce562b25.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..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> |
