aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/org/connectbot/util/SwitchCompatPreference.java (renamed from app/src/main/java/org/connectbot/SwitchCompatPreference.java)4
-rw-r--r--app/src/main/res/xml/host_prefs.xml8
-rw-r--r--app/src/main/res/xml/preferences.xml26
3 files changed, 20 insertions, 18 deletions
diff --git a/app/src/main/java/org/connectbot/SwitchCompatPreference.java b/app/src/main/java/org/connectbot/util/SwitchCompatPreference.java
index b93dcab..0e551b5 100644
--- a/app/src/main/java/org/connectbot/SwitchCompatPreference.java
+++ b/app/src/main/java/org/connectbot/util/SwitchCompatPreference.java
@@ -14,7 +14,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.connectbot;
+package org.connectbot.util;
+
+import org.connectbot.R;
import android.annotation.TargetApi;
import android.content.Context;
diff --git a/app/src/main/res/xml/host_prefs.xml b/app/src/main/res/xml/host_prefs.xml
index c21f980..c6e5b4b 100644
--- a/app/src/main/res/xml/host_prefs.xml
+++ b/app/src/main/res/xml/host_prefs.xml
@@ -60,25 +60,25 @@
android:summary="@string/hostpref_postlogin_summary"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="compression"
android:title="@string/hostpref_compression_title"
android:summary="@string/hostpref_compression_summary"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="wantsession"
android:title="@string/hostpref_wantsession_title"
android:summary="@string/hostpref_wantsession_summary"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="stayconnected"
android:title="@string/hostpref_stayconnected_title"
android:summary="@string/hostpref_stayconnected_summary"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="quickdisconnect"
android:title="@string/hostpref_quickdisconnect_title"
android:summary="@string/hostpref_quickdisconnect_summary"
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index a0baf8a..d1801c5 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -20,21 +20,21 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="memkeys"
android:title="@string/pref_memkeys_title"
android:summary="@string/pref_memkeys_summary"
android:defaultValue="true"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="connPersist"
android:title="@string/pref_conn_persist_title"
android:summary="@string/pref_conn_persist_summary"
android:defaultValue="true"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="wifilock"
android:title="@string/pref_wifilock_title"
android:summary="@string/pref_wifilock_summary"
@@ -75,28 +75,28 @@
android:defaultValue="Default"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="titlebarhide"
android:title="@string/pref_titlebarhide_title"
android:summary="@string/pref_titlebarhide_summary"
android:defaultValue="false"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="fullscreen"
android:title="@string/pref_fullscreen_title"
android:summary="@string/pref_fullscreen_summary"
android:defaultValue="false"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="volumefont"
android:title="@string/pref_volumefont_title"
android:summary="@string/pref_volumefont_summary"
android:defaultValue="true"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="keepalive"
android:title="@string/pref_keepalive_title"
android:summary="@string/pref_keepalive_summary"
@@ -107,14 +107,14 @@
<PreferenceCategory
android:title="@string/pref_keyboard_category">
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="shiftfkeys"
android:title="@string/pref_shiftfkeys_title"
android:summary="@string/pref_shiftfkeys_summary"
android:defaultValue="false"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="ctrlfkeys"
android:title="@string/pref_ctrlfkeys_title"
android:summary="@string/pref_ctrlfkeys_summary"
@@ -148,7 +148,7 @@
android:defaultValue="Ctrl+A then Space"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="bumpyarrows"
android:title="@string/pref_bumpyarrows_title"
android:summary="@string/pref_bumpyarrows_summary"
@@ -159,7 +159,7 @@
<PreferenceCategory
android:title="@string/pref_bell_category">
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="bell"
android:title="@string/pref_bell_title"
android:defaultValue="true"
@@ -170,13 +170,13 @@
android:title="@string/pref_bell_volume_title"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="bellVibrate"
android:title="@string/pref_bell_vibrate_title"
android:defaultValue="true"
/>
- <org.connectbot.SwitchCompatPreference
+ <org.connectbot.util.SwitchCompatPreference
android:key="bellNotification"
android:title="@string/pref_bell_notification_title"
android:summary="@string/pref_bell_notification_summary"