diff options
Diffstat (limited to 'res')
| -rw-r--r-- | res/values/strings.xml | 2 | ||||
| -rw-r--r-- | res/xml/settings.xml | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 3d68d1f..8c3eb36 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -21,6 +21,8 @@ <string name="pref_vibrate_duration_title">Duration</string> <string name="pref_precise_repeat_title">Precise cursor movements</string> <string name="pref_precise_repeat_summary">Modulate key repeat speed by swiping more or less</string> + <string name="pref_lockable_keys_title">Lockable modifiers</string> + <string name="pref_lockable_keys_summary">Modifier that can be locked by typing them twice</string> <string name="pref_category_style">Style</string> <string name="pref_margin_bottom_title">Margin bottom</string> <string name="pref_keyboard_height_title">Keyboard height</string> diff --git a/res/xml/settings.xml b/res/xml/settings.xml index 7ae8542..9a1bcae 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -9,6 +9,13 @@ <juloo.common.IntSlideBarPreference android:key="longpress_timeout" android:title="@string/pref_long_timeout_title" android:summary="%sms" android:defaultValue="600" min="50" max="2000"/> <juloo.common.IntSlideBarPreference android:key="longpress_interval" android:title="@string/pref_long_interval_title" android:summary="%sms" 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"/> + <PreferenceScreen android:title="@string/pref_lockable_keys_title" android:summary="@string/pref_lockable_keys_summary"> + <CheckBoxPreference android:key="lockable_shift" android:title="Shift" android:defaultValue="true"/> + <CheckBoxPreference android:key="lockable_ctrl" android:title="Ctrl" android:defaultValue="false"/> + <CheckBoxPreference android:key="lockable_alt" android:title="Alt" android:defaultValue="false"/> + <CheckBoxPreference android:key="lockable_fn" android:title="Fn" android:defaultValue="false"/> + <CheckBoxPreference android:key="lockable_meta" android:title="Meta" android:defaultValue="false"/> + </PreferenceScreen> </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"/> |
