|
@@ -0,0 +1,85 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
|
|
|
+
|
|
|
+ <CheckBoxPreference
|
|
|
+ android:defaultValue="false"
|
|
|
+ android:key="pref_general_expert"
|
|
|
+ android:summary="This will activate some expert functionalities."
|
|
|
+ android:title="Expert Mode"/>
|
|
|
+
|
|
|
+
|
|
|
+ <PreferenceCategory android:title="@string/pref_notification" >
|
|
|
+ <CheckBoxPreference
|
|
|
+ android:defaultValue="true"
|
|
|
+ android:key="pref_vibration"
|
|
|
+ android:summary="@string/pref_vibration_summ"
|
|
|
+ android:title="@string/pref_vibration" />
|
|
|
+
|
|
|
+ <RingtonePreference
|
|
|
+ android:defaultValue="content://settings/system/notification_sound"
|
|
|
+ android:key="pref_notification_sound"
|
|
|
+ android:ringtoneType="notification"
|
|
|
+ android:showDefault="true"
|
|
|
+ android:showSilent="true"
|
|
|
+ android:summary="@string/pref_alarm_summ"
|
|
|
+ android:title="@string/pref_alarm" />
|
|
|
+ </PreferenceCategory>
|
|
|
+
|
|
|
+ <PreferenceCategory android:title="Advanced Settings">
|
|
|
+ <PreferenceScreen
|
|
|
+ android:key="pref_advanced settings"
|
|
|
+ android:title="Advanced Settings"
|
|
|
+ android:persistent="false">
|
|
|
+ <PreferenceCategory android:title="@string/pref_storage" >
|
|
|
+ <CheckBoxPreference
|
|
|
+ android:defaultValue="false"
|
|
|
+ android:key="pref_external_storage"
|
|
|
+ android:summary="@string/pref_external_storage_summ"
|
|
|
+ android:title="@string/pref_external_storage_title" />
|
|
|
+
|
|
|
+ <EditTextPreference
|
|
|
+ android:key="pref_external_location"
|
|
|
+ android:dependency="pref_external_storage"
|
|
|
+ android:defaultValue="/HosTaGe/LogFiles/"
|
|
|
+ android:title="@string/pref_external_location_title"
|
|
|
+ />
|
|
|
+
|
|
|
+ </PreferenceCategory>
|
|
|
+ <PreferenceCategory android:title="@string/pref_upload" >
|
|
|
+ <EditTextPreference
|
|
|
+ android:key="pref_upload_server"
|
|
|
+ android:defaultValue="https://ssi.cased.de"
|
|
|
+ android:title="@string/pref_upload_server" />
|
|
|
+
|
|
|
+ </PreferenceCategory>
|
|
|
+ <PreferenceCategory android:title="@string/pref_connection_settings" >
|
|
|
+ <EditTextPreference
|
|
|
+ android:key="pref_max_connections"
|
|
|
+ android:defaultValue="@string/pref_max_connections_default"
|
|
|
+ android:title="@string/pref_max_connections" />
|
|
|
+
|
|
|
+ <EditTextPreference
|
|
|
+ android:key="pref_timeout"
|
|
|
+ android:defaultValue="@string/pref_timeout_default"
|
|
|
+ android:title="@string/pref_timeout" />
|
|
|
+
|
|
|
+ <EditTextPreference
|
|
|
+ android:key="pref_sleeptime"
|
|
|
+ android:defaultValue="@string/pref_sleeptime_default"
|
|
|
+ android:title="@string/pref_sleeptime" />
|
|
|
+ </PreferenceCategory>
|
|
|
+ <PreferenceCategory android:title="@string/pref_location_settings" >
|
|
|
+ <EditTextPreference
|
|
|
+ android:key="pref_location_time"
|
|
|
+ android:defaultValue="@string/pref_location_time_default"
|
|
|
+ android:title="@string/pref_location_time" />
|
|
|
+
|
|
|
+ <EditTextPreference
|
|
|
+ android:key="pref_location_retries"
|
|
|
+ android:defaultValue="@string/pref_location_retries_default"
|
|
|
+ android:title="@string/pref_location_retries" />
|
|
|
+
|
|
|
+ </PreferenceCategory>
|
|
|
+ </PreferenceScreen>
|
|
|
+ </PreferenceCategory>
|
|
|
+</PreferenceScreen>
|