aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2014-10-01 23:04:51 +0100
committerKenny Root <kenny@the-b.org>2014-10-01 12:48:19 +0100
commit49b779dcaf03e3598d2709b321e20ea029b25163 (patch)
tree05af547b1f1433d7dd6f7373d0b25a455e053a03 /res/xml
parentd64786d9197090c74072b648e487e3d34817bb57 (diff)
downloadconnectbot-49b779dcaf03e3598d2709b321e20ea029b25163.tar.gz
connectbot-49b779dcaf03e3598d2709b321e20ea029b25163.tar.bz2
connectbot-49b779dcaf03e3598d2709b321e20ea029b25163.zip
Convert to gradle build system
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/host_prefs.xml125
-rw-r--r--res/xml/preferences.xml177
2 files changed, 0 insertions, 302 deletions
diff --git a/res/xml/host_prefs.xml b/res/xml/host_prefs.xml
deleted file mode 100644
index fea90cb..0000000
--- a/res/xml/host_prefs.xml
+++ /dev/null
@@ -1,125 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
- * ConnectBot: simple, powerful, open-source SSH client for Android
- * Copyright 2007 Kenny Root, Jeffrey Sharkey
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
--->
-
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
-
- <EditTextPreference
- android:key="nickname"
- android:title="@string/hostpref_nickname_title"
- android:singleLine="true"
- />
-
- <ListPreference
- android:key="color"
- android:title="@string/hostpref_color_title"
- android:entries="@array/list_colors"
- android:entryValues="@array/list_color_values"
- />
-
- <EditTextPreference
- android:key="fontsize"
- android:title="@string/hostpref_fontsize_title"
- android:inputType="number"
- android:singleLine="true"
- />
-
-<!--
- <CheckBoxPreference
- android:key="usekeys"
- android:title="Use SSH keys"
- />
--->
-
- <ListPreference
- android:key="pubkeyid"
- android:title="@string/hostpref_pubkeyid_title"
- android:entries="@array/list_pubkeyids"
- android:entryValues="@array/list_pubkeyids_value"
- />
-
- <ListPreference
- android:key="useauthagent"
- android:title="@string/hostpref_authagent_title"
- android:entries="@array/list_authagent"
- android:entryValues="@array/list_authagent_values"
- />
-
- <EditTextPreference
- android:key="postlogin"
- android:title="@string/hostpref_postlogin_title"
- android:summary="@string/hostpref_postlogin_summary"
- />
-
- <CheckBoxPreference
- android:key="compression"
- android:title="@string/hostpref_compression_title"
- android:summary="@string/hostpref_compression_summary"
- />
-
- <CheckBoxPreference
- android:key="wantsession"
- android:title="@string/hostpref_wantsession_title"
- android:summary="@string/hostpref_wantsession_summary"
- />
-
- <CheckBoxPreference
- android:key="stayconnected"
- android:title="@string/hostpref_stayconnected_title"
- android:summary="@string/hostpref_stayconnected_summary"
- />
-
- <ListPreference
- android:key="delkey"
- android:title="@string/hostpref_delkey_title"
- android:summary="@string/hostpref_delkey_summary"
- android:entries="@array/list_delkey"
- android:entryValues="@array/list_delkey_values"
- />
-
- <ListPreference
- android:key="encoding"
- 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"
- android:singleLine="true"
- />
-
- <EditTextPreference
- android:key="hostname"
- android:title="@string/hostpref_hostname_title"
- android:singleLine="true"
- />
-
- <EditTextPreference
- android:key="port"
- android:title="@string/hostpref_port_title"
- android:numeric="integer"
- />
-
- </PreferenceCategory>
-
-</PreferenceScreen>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
deleted file mode 100644
index 5fb836b..0000000
--- a/res/xml/preferences.xml
+++ /dev/null
@@ -1,177 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
- * ConnectBot: simple, powerful, open-source SSH client for Android
- * Copyright 2007 Kenny Root, Jeffrey Sharkey
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
--->
-
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
-
- <CheckBoxPreference
- android:key="memkeys"
- android:title="@string/pref_memkeys_title"
- android:summary="@string/pref_memkeys_summary"
- android:defaultValue="true"
- />
-
- <ListPreference
- android:key="update"
- android:title="@string/pref_update_title"
- android:summary="@string/pref_update_summary"
- android:entries="@array/list_update"
- android:entryValues="@array/list_update_values"
- android:defaultValue="Daily"
- />
-
- <CheckBoxPreference
- android:key="connPersist"
- android:title="@string/pref_conn_persist_title"
- android:summary="@string/pref_conn_persist_summary"
- android:defaultValue="true"
- />
-
- <PreferenceCategory
- android:title="@string/pref_emulation_category">
-
- <ListPreference
- android:key="emulation"
- android:title="@string/pref_emulation_title"
- android:summary="@string/pref_emulation_summary"
- android:entries="@array/list_emulation_modes"
- android:entryValues="@array/list_emulation_modes"
- android:defaultValue="screen"
- />
-
- <EditTextPreference
- android:key="scrollback"
- android:title="@string/pref_scrollback_title"
- android:summary="@string/pref_scrollback_summary"
- android:defaultValue="140"
- android:numeric="integer"
- />
-
- </PreferenceCategory>
-
- <PreferenceCategory
- android:title="@string/pref_ui_category">
-
- <ListPreference
- android:key="rotation"
- android:title="@string/pref_rotation_title"
- android:summary="@string/pref_rotation_summary"
- android:entries="@array/list_rotation"
- android:entryValues="@array/list_rotation_values"
- android:defaultValue="Default"
- />
-
- <CheckBoxPreference
- android:key="fullscreen"
- android:title="@string/pref_fullscreen_title"
- android:summary="@string/pref_fullscreen_summary"
- android:defaultValue="false"
- />
-
- <CheckBoxPreference
- android:key="shiftfkeys"
- android:title="@string/pref_shiftfkeys_title"
- android:summary="@string/pref_shiftfkeys_summary"
- android:defaultValue="false"
- />
-
- <CheckBoxPreference
- android:key="ctrlfkeys"
- android:title="@string/pref_ctrlfkeys_title"
- android:summary="@string/pref_ctrlfkeys_summary"
- android:defaultValue="false"
- />
-
- <CheckBoxPreference
- android:key="volumefont"
- android:title="@string/pref_volumefont_title"
- android:summary="@string/pref_volumefont_summary"
- android:defaultValue="true"
- />
-
- <ListPreference
- android:key="keymode"
- android:title="@string/pref_keymode_title"
- android:summary="@string/pref_keymode_summary"
- android:entries="@array/list_keymode"
- android:entryValues="@array/list_keymode_values"
- android:defaultValue="Use right-side keys"
- />
-
- <ListPreference
- android:key="camera"
- android:title="@string/pref_camera_title"
- android:summary="@string/pref_camera_summary"
- android:entries="@array/list_camera"
- android:entryValues="@array/list_camera_values"
- android:defaultValue="Ctrl+A then Space"
- />
-
- <CheckBoxPreference
- android:key="keepalive"
- android:title="@string/pref_keepalive_title"
- android:summary="@string/pref_keepalive_summary"
- android:defaultValue="true"
- />
-
- <CheckBoxPreference
- android:key="wifilock"
- android:title="@string/pref_wifilock_title"
- android:summary="@string/pref_wifilock_summary"
- android:defaultValue="true"
- />
-
- <CheckBoxPreference
- android:key="bumpyarrows"
- android:title="@string/pref_bumpyarrows_title"
- android:summary="@string/pref_bumpyarrows_summary"
- android:defaultValue="true"
- />
- </PreferenceCategory>
-
- <PreferenceCategory
- android:title="@string/pref_bell_category">
-
- <CheckBoxPreference
- android:key="bell"
- android:title="@string/pref_bell_title"
- android:defaultValue="true"
- />
-
- <org.connectbot.util.VolumePreference
- android:key="bellVolume"
- android:title="@string/pref_bell_volume_title"
- />
-
- <CheckBoxPreference
- android:key="bellVibrate"
- android:title="@string/pref_bell_vibrate_title"
- android:defaultValue="true"
- />
-
- <CheckBoxPreference
- android:key="bellNotification"
- android:title="@string/pref_bell_notification_title"
- android:summary="@string/pref_bell_notification_summary"
- android:defaultValue="false"
- />
-
- </PreferenceCategory>
-
-</PreferenceScreen>