aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml/preferences.xml
blob: 676d866db5c6be1ec8def7efc455e521eb4c39f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="utf-8"?>
<!--
	ConnectBot: simple, powerful, open-source SSH client for Android
	Copyright (C) 2007-2008 Kenny Root, Jeffrey Sharkey
	
	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.
	
	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.
	
	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

	<CheckBoxPreference
		android:key="@string/pref_memkeys"
		android:title="Remember keys in memory"
		android:summary="Keep unlocked SSH keys in memory until backend service is terminated"
		android:defaultValue="true"
		/>

	<ListPreference
		android:key="@string/pref_update"
		android:title="Update check"
		android:summary="Set the maximum frequency to check for ConnectBot updates"
		android:entries="@array/list_update"
		android:entryValues="@array/list_update"
		android:defaultValue="@string/list_update_daily"
		/>

	<PreferenceCategory
		android:title="Terminal emulation">
		
		<ListPreference
			android:key="@string/pref_emulation"
			android:title="Emulation mode"
			android:summary="Terminal emulation mode to use for PTY connections"
			android:entries="@array/list_emulation_modes"
			android:defaultValue="screen"
			android:entryValues="@array/list_emulation_modes"
			/>
	
		<EditTextPreference
			android:key="@string/pref_scrollback"
			android:title="Scrollback size"
			android:summary="Size of scrollback buffer to keep in memory for each console"
			android:defaultValue="140"
			android:singleLine="true"
			/>
			
	</PreferenceCategory>

	<PreferenceCategory
		android:title="User interface">

		<ListPreference
			android:key="@string/pref_rotation"
			android:title="Rotation mode"
			android:summary="How to change rotation when keyboard popped in/out"
			android:entries="@array/list_rotation"
			android:entryValues="@array/list_rotation"
			android:defaultValue="@string/list_rotation_land"
			/>

		<CheckBoxPreference
			android:key="@string/pref_fullscreen"
			android:title="Full screen"
			android:summary="Hide status bar while in console"
			android:defaultValue="false"
			/>
			
		<ListPreference
			android:key="@string/pref_keymode"
			android:title="Directory shortcuts"
			android:summary="Select how to use Alt for \'/\' and Shift for Tab"
			android:entries="@array/list_keymode"
			android:entryValues="@array/list_keymode"
			android:defaultValue="@string/list_keymode_right"
			/>
	
		<ListPreference
			android:key="@string/pref_camera"
			android:title="Camera shortcut"
			android:summary="Select which shortcut to trigger when camera button is pushed"
			android:entries="@array/list_camera"
			android:entryValues="@array/list_camera"
			android:defaultValue="@string/list_camera_ctrlaspace"
			/>

		<CheckBoxPreference
			android:key="@string/pref_keepalive"
			android:title="Keep screen awake"
			android:summary="Prevent the screen from turning off when working in a console"
			android:defaultValue="true"
			/>
			
		<CheckBoxPreference
			android:key="@string/pref_wifilock"
			android:title="Keep Wi-Fi active"
			android:summary="Prevent Wi-Fi from turning off when a session is active"
			android:defaultValue="true"
			/>

		<CheckBoxPreference
			android:key="@string/pref_bumpyarrows"
			android:title="Bumpy arrow keys"
			android:summary="Vibrate when sending arrow keys from trackball, useful for laggy connections"
			android:defaultValue="true"
			/>

	</PreferenceCategory>

</PreferenceScreen>