Subversion Repositories tpanel

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
446 andreas 1
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
2
    xmlns:app="http://schemas.android.com/apk/res-auto">
3
 
4
    <PreferenceCategory android:title="NetLinx">
5
 
6
        <EditTextPreference
7
            android:id="@+id/netlinxIp"
8
            android:defaultValue="0.0.0.0"
9
            android:key="netlinx_ip"
10
            android:title="NetLinx IP"
11
            app:useSimpleSummaryProvider="true" />
12
 
13
        <EditTextPreference
14
            android:id="@+id/netlinxPort"
15
            android:defaultValue="1319"
16
            android:key="netlinx_port"
17
            android:title="Network port"
18
            android:maxLength="6"
19
            app:useSimpleSummaryProvider="true" />
20
 
21
        <EditTextPreference
22
            android:id="@+id/netlinxChannel"
23
            android:defaultValue="10001"
24
            android:key="netlinx_channel"
25
            android:title="Channel number"
26
            android:maxLength="5"
27
            app:useSimpleSummaryProvider="true" />
28
 
29
        <EditTextPreference
30
            android:id="@+id/netlinxType"
31
            android:defaultValue="Android"
32
            android:key="netlinx_type"
33
            android:title="Panel type"
34
            android:maxLength="15"
35
            app:useSimpleSummaryProvider="true" />
36
 
37
        <EditTextPreference
38
            android:id="@+id/netlinxFtpUser"
39
            android:defaultValue="administrator"
40
            android:key="netlinx_ftp_user"
41
            android:title="FTP user name"
42
            app:useSimpleSummaryProvider="true" />
43
 
44
        <EditTextPreference
45
            android:id="@+id/netlinxFtpPassword"
46
            android:defaultValue="password"
47
            android:summary="********"
48
            android:inputType="textPassword"
49
            android:key="netlinx_ftp_password"
50
            android:title="FTP password" />
51
 
52
        <DropDownPreference
53
            android:key="netlinx_surface"
54
            android:title="Surface file name"
55
            android:entries="@array/reply_entries_surface"
56
            android:entryValues="@array/reply_values_surface"
57
            app:useSimpleSummaryProvider="true" />
58
 
59
        <SwitchPreference
60
            android:id="@+id/netlinxFtpPassive"
61
            android:defaultValue="true"
62
            android:key="netlinx_ftp_passive"
63
            android:title="FTP passive mode" />
64
 
65
    </PreferenceCategory>
66
 
67
    <PreferenceCategory android:title="View">
68
        <SwitchPreference
69
            android:defaultValue="true"
70
            android:key="view_scale"
71
            android:title="Scale to fit" />
72
        <SwitchPreference
73
            android:defaultValue="true"
74
            android:key="view_toolbar"
75
            android:title="Toolbar visible"
76
            app:isPreferenceVisible="false" />
77
        <SwitchPreference
78
            android:defaultValue="false"
79
            android:key="view_toolbar_force"
80
            android:title="Force toolbar visible" />
81
        <SwitchPreference
82
            android:defaultValue="false"
83
            android:key="view_rotation"
84
            android:title="Fixed rotation" />
85
    </PreferenceCategory>
86
 
87
    <PreferenceCategory android:title="Sound">
88
        <ListPreference
89
            android:defaultValue="singleBeep.wav"
90
            android:entries="@array/reply_entries_sound_system"
91
            android:entryValues="@array/reply_values_sound_system"
92
            android:key="sound_system"
93
            android:title="System sound"
94
            app:useSimpleSummaryProvider="true" />
95
        <ListPreference
96
            android:defaultValue="singleBeep.wav"
97
            android:entries="@array/reply_entries_sound_single"
98
            android:entryValues="@array/reply_values_sound_single"
99
            android:key="sound_single"
100
            android:title="Single beep"
101
            app:useSimpleSummaryProvider="true" />
102
        <ListPreference
103
            android:defaultValue="doubleBeep.wav"
104
            android:entries="@array/reply_entries_sound_double"
105
            android:entryValues="@array/reply_values_sound_double"
106
            android:key="sound_double"
107
            android:title="Double beep"
108
            app:useSimpleSummaryProvider="true" />
109
        <SwitchPreference
110
            android:defaultValue="true"
111
            android:key="sound_enable"
112
            android:title="Enable system sound" />
113
        <SeekBarPreference
114
            android:defaultValue="100"
115
            android:key="sound_volume"
116
            android:title="Volume"
117
            android:max="100" />
118
        <SeekBarPreference
119
            android:defaultValue="0"
120
            android:key="sound_gain"
121
            android:title="Gain"
122
            android:max="100"
123
            app:showSeekBarValue="true"
124
            app:isPreferenceVisible="false" />
125
    </PreferenceCategory>
126
    <PreferenceCategory android:title="SIP">
127
        <EditTextPreference
128
            android:defaultValue="0.0.0.0"
129
            android:key="sip_proxy"
130
            android:title="SIP proxy"
131
            app:useSimpleSummaryProvider="true" />
132
        <EditTextPreference
133
            android:defaultValue="5060"
134
            android:key="sip_port"
135
            android:title="Network port"
136
            app:useSimpleSummaryProvider="true" />
137
        <EditTextPreference
138
            android:defaultValue="0"
139
            android:key="sip_tls_port"
140
            android:title="Network RLS port"
141
            app:useSimpleSummaryProvider="true" />
142
        <EditTextPreference
143
            android:defaultValue=""
144
            android:key="sip_stun"
145
            android:title="STUN"
146
            app:useSimpleSummaryProvider="true" />
147
        <EditTextPreference
148
            android:defaultValue=""
149
            android:key="sip_domain"
150
            android:title="Domain"
151
            app:useSimpleSummaryProvider="true" />
152
        <EditTextPreference
153
            android:defaultValue=""
154
            android:key="sip_user"
155
            android:title="User"
156
            app:useSimpleSummaryProvider="true" />
157
        <EditTextPreference
158
            android:defaultValue=""
159
            android:key="sip_password"
160
            android:title="Password"
161
            android:summary="********"
162
            android:inputType="textPassword" />
163
        <SwitchPreference
164
            android:defaultValue="true"
165
            android:key="sip_ipv4"
166
            android:title="Network IPv4" />
167
        <SwitchPreference
168
            android:defaultValue="false"
169
            android:key="sip_ipv6"
170
            android:title="Network IPv6" />
171
        <SwitchPreference
172
            android:defaultValue="false"
173
            android:key="sip_enabled"
174
            android:title="SIP enabled" />
175
        <SwitchPreference
176
            android:defaultValue="true"
177
            android:key="sip_internal_phone"
178
            android:title="Use integrated phone" />
179
    </PreferenceCategory>
180
    <PreferenceCategory android:title="Logging">
181
        <SwitchPreference
182
            android:defaultValue="false"
183
            android:key="logging_info"
184
            android:title="Information" />
185
        <SwitchPreference
186
            android:defaultValue="false"
187
            android:key="logging_warning"
188
            android:title="Warnings" />
189
        <SwitchPreference
190
            android:defaultValue="false"
191
            android:key="logging_error"
192
            android:title="Errors" />
193
        <SwitchPreference
194
            android:defaultValue="false"
195
            android:key="logging_trace"
196
            android:title="Trace" />
197
        <SwitchPreference
198
            android:defaultValue="false"
199
            android:key="logging_debug"
200
            android:title="Debug" />
201
        <SwitchPreference
202
            android:defaultValue="false"
203
            android:key="logging_profile"
204
            android:title="Profiling" />
205
        <SwitchPreference
206
            android:defaultValue="false"
207
            android:key="logging_long_format"
208
            android:title="Long format" />
209
        <SwitchPreference
210
            android:defaultValue="false"
211
            android:key="logging_logfile_enabled"
212
            android:title="Enable logfile" />
213
        <EditTextPreference
214
            android:defaultValue="tpanel_log.txt"
215
            android:key="logging_logfile"
216
            android:title="Logfile"
217
            app:useSimpleSummaryProvider="true" />
218
    </PreferenceCategory>
219
    <PreferenceCategory android:title="Passwords">
220
        <EditTextPreference
221
            android:defaultValue="1988"
222
            android:key="passwords_1"
223
            android:title="Password 1"
224
            android:summary="********"
225
            android:inputType="textPassword" />
226
        <EditTextPreference
227
            android:defaultValue="1988"
228
            android:key="passwords_2"
229
            android:title="Password 2"
230
            android:summary="********"
231
            android:inputType="textPassword" />
232
        <EditTextPreference
233
            android:defaultValue="1988"
234
            android:key="passwords_3"
235
            android:title="Password 3"
236
            android:summary="********"
237
            android:inputType="textPassword" />
238
        <EditTextPreference
239
            android:defaultValue="1988"
240
            android:key="passwords_4"
241
            android:title="Password 4"
242
            android:summary="********"
243
            android:inputType="textPassword" />
244
    </PreferenceCategory>
245
</PreferenceScreen>