]> Pileus Git - ~andy/spades/blob - res/xml/prefs.xml
Update preferences
[~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="#rhspades" />
30                 <EditTextPreference
31                         android:key="pref_referee"
32                         android:summary="Name of the bot hosting the game"
33                         android:title="Referee"
34                         android:defaultValue="rhawk" />
35         </PreferenceCategory>
36         <PreferenceCategory
37                 android:title="Authentication settings"
38                 android:key="pref_user">
39                 <CheckBoxPreference
40                         android:key="pref_usesasl"
41                         android:summary="Use SASL Plain for Authentication"
42                         android:title="Use SASL"
43                         android:defaultValue="false" />
44                 <EditTextPreference
45                         android:key="pref_authname"
46                         android:summary="Username for SASL Authentication"
47                         android:title="Authname"
48                         android:defaultValue="" />
49                 <EditTextPreference
50                         android:key="pref_password"
51                         android:summary="Password for SASL Authentication"
52                         android:title="Password"
53                         android:defaultValue="" />
54         </PreferenceCategory>
55 </PreferenceScreen>