Added data logging preferences to settings page
This commit is contained in:
52
app/src/main/res/xml/logging_prefs.xml
Normal file
52
app/src/main/res/xml/logging_prefs.xml
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="LogAlarms"
|
||||
android:summary="@string/log_alarms_summary"
|
||||
android:title="@string/log_alarms_title" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="LogData"
|
||||
android:summary="@string/log_data_summary"
|
||||
android:title="@string/log_data_title" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="150"
|
||||
android:key="EventDurationSec"
|
||||
android:summary="@string/eventDurationSummary"
|
||||
android:title="@string/eventDurationTitle" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="AutoPruneDb"
|
||||
android:summary="@string/AutoPruneDbSummary"
|
||||
android:title="@string/AutoPruneDbTitle" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="28"
|
||||
android:key="DataRetentionPeriod"
|
||||
android:summary="@string/dataRetentionPeriodSummary"
|
||||
android:title="@string/dataRetentionPeriodTitle" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="LogDataRemote"
|
||||
android:summary="@string/log_data_remote_summary"
|
||||
android:title="@string/log_data_remote_title" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="LogDataRemoteMobile"
|
||||
android:summary="@string/log_data_remote_mobile_summary"
|
||||
android:title="@string/log_data_remote_mobile_title" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="60"
|
||||
android:key="RemoteLogPeriod"
|
||||
android:summary="@string/remoteLogPeriodSummary"
|
||||
android:title="@string/remoteLogPeriodTitle" />
|
||||
|
||||
<EditTextPreference
|
||||
android:defaultValue="https://osdapi.ddns.net/"
|
||||
android:key="OSDUrl"
|
||||
android:summary="@string/remote_url_summary"
|
||||
android:title="@string/remote_url_title" />
|
||||
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user