AndroidAPS/app/src/main/res/xml/pref_insight_local_pumpcontrol.xml

78 lines
2.8 KiB
XML
Raw Normal View History

2019-01-18 22:40:08 +01:00
<?xml version="1.0" encoding="utf-8"?>
2020-01-09 21:41:02 +01:00
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory
android:title="@string/insight_local"
app:initialExpandedChildrenCount="0">
2019-03-07 15:25:29 +01:00
<Preference android:title="@string/insight_pairing">
<intent
android:targetClass="info.nightscout.androidaps.plugins.pump.insight.activities.InsightPairingInformationActivity"
android:targetPackage="info.nightscout.aapspumpcontrol" />
2019-03-07 15:25:29 +01:00
</Preference>
<SwitchPreference
android:defaultValue="false"
2019-04-03 00:07:20 +02:00
android:key="insight_log_reservoir_changes"
android:title="@string/log_reservoir_changes" />
2019-03-07 15:25:29 +01:00
<SwitchPreference
android:defaultValue="false"
android:key="insight_log_tube_changes"
android:title="@string/log_tube_changes" />
2019-04-03 00:07:20 +02:00
<SwitchPreference
android:defaultValue="false"
android:key="insight_log_site_changes"
android:title="@string/log_site_changes" />
2019-03-07 15:25:29 +01:00
<SwitchPreference
android:defaultValue="false"
android:key="insight_log_battery_changes"
android:title="@string/log_battery_changes" />
<SwitchPreference
android:defaultValue="false"
android:key="insight_log_operating_mode_changes"
android:title="@string/log_operating_mode_changes" />
<SwitchPreference
android:defaultValue="false"
android:key="insight_log_alerts"
android:title="@string/log_alerts" />
<SwitchPreference
android:defaultValue="false"
android:key="insight_enable_tbr_emulation"
android:summary="@string/enable_tbr_emulation_summary"
android:title="@string/enable_tbr_emulation" />
<SwitchPreference
android:defaultValue="false"
android:key="@string/key_disable_vibration"
android:summary="@string/disable_vibration_summary"
android:title="@string/disable_vibration" />
2019-03-07 15:25:29 +01:00
<EditTextPreference
android:defaultValue="5"
android:inputType="number"
android:key="insight_min_recovery_duration"
android:title="@string/min_recovery_duration" />
<EditTextPreference
android:defaultValue="20"
android:inputType="number"
android:key="insight_max_recovery_duration"
android:title="@string/max_recovery_duration" />
<EditTextPreference
android:defaultValue="5"
android:inputType="number"
android:key="insight_disconnect_delay"
android:title="@string/disconnect_delay" />
2020-01-09 21:41:02 +01:00
2019-03-07 15:25:29 +01:00
</PreferenceCategory>
2020-01-09 21:41:02 +01:00
</androidx.preference.PreferenceScreen>