]> Pileus Git - ~andy/spades/blob - res/xml/prefs.xml
dc7eb289b0c7b65db46e7d6616ebbafba2bd04d0
[~andy/spades] / res / xml / prefs.xml
1 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
2         <PreferenceCategory
3                 android:title="Connection settings"
4                 android:key="pref_conn">
5                 <EditTextPreference
6                         android:key="pref_server"
7                         android:summary="IRC Server to Hostname"
8                         android:title="Server"
9                         android:defaultValue="irc.freenode.net" />
10                 <EditTextPreference
11                         android:key="pref_port"
12                         android:summary="TCP Port for IRC on Server"
13                         android:title="Port"
14                         android:numeric="integer"
15                         android:defaultValue="6667" />
16         </PreferenceCategory>
17         <PreferenceCategory
18                 android:title="User settings"
19                 android:key="pref_user">
20                 <EditTextPreference
21                         android:key="pref_nickname"
22                         android:summary="Prefered IRC Nickname"
23                         android:title="Nickname"
24                         android:defaultValue="andydroid" />
25                 <EditTextPreference
26                         android:key="pref_channel"
27                         android:summary="IRC Channel to Join"
28                         android:title="Channel"
29                         android:defaultValue="#rhnoise" />
30         </PreferenceCategory>
31         <PreferenceCategory
32                 android:title="Authentication settings"
33                 android:key="pref_user">
34                 <CheckBoxPreference
35                         android:key="pref_usesasl"
36                         android:summary="Use SASL Plain for Authentication"
37                         android:title="Use SASL"
38                         android:defaultValue="false" />
39                 <EditTextPreference
40                         android:key="pref_authname"
41                         android:summary="Username for SASL Authentication"
42                         android:title="Nickname"
43                         android:defaultValue="" />
44                 <EditTextPreference
45                         android:key="pref_password"
46                         android:summary="Password for SASL Authentication"
47                         android:title="Password"
48                         android:defaultValue="" />
49         </PreferenceCategory>
50 </PreferenceScreen>