Blame | Last modification | View Log | RSS feed
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="Server Settings" android:key="pref_category_server">
<EditTextPreference android:title="Server IP" android:key="pref_serverIP" android:dialogMessage="Set IP in format x.x.x.x" android:defaultValue="10.0.2.2"/>
<EditTextPreference android:title="Server Port" android:key="pref_serverPort" android:dialogMessage="Set port number" android:defaultValue="8080"/>
<CheckBoxPreference android:key="pref_serverReconnect" android:title="Attempt Reconnect?"/><EditTextPreference android:key="pref_serverReconnectInterval" android:title="Reconnect Interval" android:dependency="pref_serverReconnect" android:dialogMessage="Set interval in milliseconds (ms)" android:defaultValue="3000"/>
</PreferenceCategory>
<PreferenceCategory android:key="pref_category_graph" android:title="Graph Settings">
<EditTextPreference android:key="pref_graphLength" android:title="Graph History Length" android:defaultValue="100" android:dialogMessage="Enter the number of records to store"/>
</PreferenceCategory>
</PreferenceScreen>