aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/xml-v14/preferences.xml9
-rw-r--r--app/src/main/res/xml/preferences.xml7
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"