diff options
author | alescdb <alescdb@users.noreply.github.com> | 2015-10-23 20:16:57 +0200 |
---|---|---|
committer | alescdb <alescdb@users.noreply.github.com> | 2015-10-23 20:16:57 +0200 |
commit | 301d4f6798f54b2b302638a0d67699cc7351adfb (patch) | |
tree | 077b3ee6e02b8a478256a5a2a9c0bac6f53f6505 /app/src/main/res | |
parent | 50f9c5c7089e16c161653c84a369a92a28e5502a (diff) | |
download | connectbot-301d4f6798f54b2b302638a0d67699cc7351adfb.tar.gz connectbot-301d4f6798f54b2b302638a0d67699cc7351adfb.tar.bz2 connectbot-301d4f6798f54b2b302638a0d67699cc7351adfb.zip |
Add a setting options to always show the virtual keyboard (special keys)
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/xml-v14/preferences.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/xml/preferences.xml | 7 |
3 files changed, 17 insertions, 1 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e5dfeef..925f55f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -643,5 +643,7 @@ <string name="discard_host_button">Discard</string> <!-- Text for button which does not discard changes and keeps editing. --> <string name="discard_host_cancel_button">Keep editing</string> + <string name="pref_alwaysvisible_title">Keyboard always visible</string> + <string name="pref_alwaysvisible_summary">Always show the special keys</string> </resources> diff --git a/app/src/main/res/xml-v14/preferences.xml b/app/src/main/res/xml-v14/preferences.xml index 9e76c36..b1eb274 100644 --- a/app/src/main/res/xml-v14/preferences.xml +++ b/app/src/main/res/xml-v14/preferences.xml @@ -114,7 +114,14 @@ <PreferenceCategory android:title="@string/pref_keyboard_category"> - <SwitchPreference + <SwitchPreference + android:key="alwaysvisible" + android:title="@string/pref_alwaysvisible_title" + android:summary="@string/pref_alwaysvisible_summary" + android:defaultValue="false" + /> + + <SwitchPreference android:key="shiftfkeys" android:title="@string/pref_shiftfkeys_title" android:summary="@string/pref_shiftfkeys_summary" diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index e87b263..a937b29 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -114,6 +114,13 @@ <PreferenceCategory android:title="@string/pref_keyboard_category"> + <org.connectbot.util.SwitchCompatPreference + android:key="alwaysvisible" + android:title="@string/pref_alwaysvisible_title" + android:summary="@string/pref_alwaysvisible_summary" + android:defaultValue="false" + /> + <org.connectbot.util.SwitchCompatPreference android:key="shiftfkeys" android:title="@string/pref_shiftfkeys_title" |