diff options
author | Kenny Root <kenny@the-b.org> | 2015-09-18 01:48:42 -0700 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2015-09-18 01:48:42 -0700 |
commit | ec65697814b6e0b37c4de6863b16b559c55761b8 (patch) | |
tree | 99f9e86bfa3f56a26bfbf53878eec72a448c8e2f /app/src/main/res/xml/host_prefs.xml | |
parent | 9a9bd90362f70cfddb65d7814b91069f43275abc (diff) | |
parent | 92ade14a3c6f1dbc23318d0d37c57e7c5b6f78be (diff) | |
download | connectbot-ec65697814b6e0b37c4de6863b16b559c55761b8.tar.gz connectbot-ec65697814b6e0b37c4de6863b16b559c55761b8.tar.bz2 connectbot-ec65697814b6e0b37c4de6863b16b559c55761b8.zip |
Merge pull request #205 from rhansby/use-switches-not-checkboxes
Changed Settings options to use switches instead of checkboxes.
Diffstat (limited to 'app/src/main/res/xml/host_prefs.xml')
-rw-r--r-- | app/src/main/res/xml/host_prefs.xml | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/app/src/main/res/xml/host_prefs.xml b/app/src/main/res/xml/host_prefs.xml index a2fc1a4..c6e5b4b 100644 --- a/app/src/main/res/xml/host_prefs.xml +++ b/app/src/main/res/xml/host_prefs.xml @@ -40,13 +40,6 @@ android:singleLine="true" /> -<!-- - <CheckBoxPreference - android:key="usekeys" - android:title="Use SSH keys" - /> ---> - <ListPreference android:key="pubkeyid" android:title="@string/hostpref_pubkeyid_title" @@ -66,26 +59,26 @@ android:title="@string/hostpref_postlogin_title" android:summary="@string/hostpref_postlogin_summary" /> - - <CheckBoxPreference + + <org.connectbot.util.SwitchCompatPreference android:key="compression" android:title="@string/hostpref_compression_title" android:summary="@string/hostpref_compression_summary" /> - - <CheckBoxPreference + + <org.connectbot.util.SwitchCompatPreference android:key="wantsession" android:title="@string/hostpref_wantsession_title" android:summary="@string/hostpref_wantsession_summary" /> - <CheckBoxPreference + <org.connectbot.util.SwitchCompatPreference android:key="stayconnected" android:title="@string/hostpref_stayconnected_title" android:summary="@string/hostpref_stayconnected_summary" /> - <CheckBoxPreference + <org.connectbot.util.SwitchCompatPreference android:key="quickdisconnect" android:title="@string/hostpref_quickdisconnect_title" android:summary="@string/hostpref_quickdisconnect_summary" @@ -104,10 +97,10 @@ android:title="@string/hostpref_encoding_title" android:summary="@string/hostpref_encoding_summary" /> - + <PreferenceCategory android:title="@string/hostpref_connection_category"> - + <EditTextPreference android:key="username" android:title="@string/hostpref_username_title" |