2016-11-11 16:18:10 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<PreferenceCategory
|
|
|
|
android:key="others"
|
|
|
|
android:title="@string/othersettings_title">
|
2017-11-28 21:48:46 +01:00
|
|
|
<PreferenceScreen android:title="@string/default_temptargets">
|
2016-11-11 16:18:10 +01:00
|
|
|
<EditTextPreference
|
2017-10-06 02:52:04 +02:00
|
|
|
android:defaultValue="0"
|
2017-11-28 21:48:46 +01:00
|
|
|
android:inputType="number"
|
|
|
|
android:key="@string/key_eatingsoon_duration"
|
|
|
|
android:title="@string/eatingsoon_duration"></EditTextPreference>
|
2016-11-11 16:18:10 +01:00
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="0"
|
2017-11-28 21:48:46 +01:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
android:key="@string/key_eatingsoon_target"
|
|
|
|
android:title="@string/eatingsoon_target"></EditTextPreference>
|
2016-11-11 16:18:10 +01:00
|
|
|
<EditTextPreference
|
2017-10-06 02:52:04 +02:00
|
|
|
android:defaultValue="0"
|
2017-11-28 21:48:46 +01:00
|
|
|
android:inputType="number"
|
|
|
|
android:key="@string/key_activity_duration"
|
|
|
|
android:title="@string/activity_duration"></EditTextPreference>
|
2017-10-06 02:52:04 +02:00
|
|
|
<EditTextPreference
|
2016-11-11 16:18:10 +01:00
|
|
|
android:defaultValue="0"
|
2017-11-28 21:48:46 +01:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
android:key="@string/key_activity_target"
|
|
|
|
android:title="@string/activity_target"></EditTextPreference>
|
2017-10-06 03:05:36 +02:00
|
|
|
</PreferenceScreen>
|
2017-11-28 21:48:46 +01:00
|
|
|
<PreferenceScreen android:title="@string/fillbolus_title">
|
2017-10-06 03:05:36 +02:00
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="0.3"
|
2017-11-28 21:48:46 +01:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
android:key="fill_button1"
|
|
|
|
android:title="@string/button1"></EditTextPreference>
|
2017-10-06 03:05:36 +02:00
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="0"
|
2017-11-28 21:48:46 +01:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
android:key="fill_button2"
|
|
|
|
android:title="@string/button2"></EditTextPreference>
|
2017-10-06 03:05:36 +02:00
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="0"
|
2017-11-28 21:48:46 +01:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
android:key="fill_button3"
|
|
|
|
android:title="@string/button3"></EditTextPreference>
|
2016-11-11 16:18:10 +01:00
|
|
|
</PreferenceScreen>
|
2016-11-24 16:08:01 +01:00
|
|
|
<PreferenceScreen
|
2017-11-28 21:48:46 +01:00
|
|
|
android:summary="@string/prefs_range_summary"
|
|
|
|
android:title="@string/prefs_range_title">
|
2016-11-24 16:08:01 +01:00
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="0"
|
2017-11-28 21:48:46 +01:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
android:key="low_mark"
|
|
|
|
android:title="@string/low_mark"></EditTextPreference>
|
2016-11-24 16:08:01 +01:00
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="0"
|
2017-11-28 21:48:46 +01:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
android:key="high_mark"
|
|
|
|
android:title="@string/high_mark"></EditTextPreference>
|
2016-11-24 16:08:01 +01:00
|
|
|
</PreferenceScreen>
|
2017-01-21 23:48:05 +01:00
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="short_tabtitles"
|
2017-11-28 21:48:46 +01:00
|
|
|
android:title="@string/short_tabtitles" />
|
2016-11-11 16:18:10 +01:00
|
|
|
</PreferenceCategory>
|
2017-11-28 21:48:46 +01:00
|
|
|
<PreferenceScreen android:title="@string/localalertsettings_title">
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="@string/key_enable_missed_bg_readings_alert"
|
|
|
|
android:title="@string/enable_missed_bg_readings_alert" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="30"
|
|
|
|
android:dependency="@string/key_enable_missed_bg_readings_alert"
|
|
|
|
android:inputType="number"
|
|
|
|
android:key="@string/key_missed_bg_readings_threshold"
|
|
|
|
android:title="@string/nsalarm_staledatavalue_label"></EditTextPreference>
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="@string/key_enable_pump_unreachable_alert"
|
|
|
|
android:title="@string/enable_pump_unreachable_alert" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="30"
|
|
|
|
android:dependency="@string/key_enable_pump_unreachable_alert"
|
|
|
|
android:inputType="number"
|
|
|
|
android:key="@string/key_pump_unreachable_threshold"
|
|
|
|
android:title="@string/pump_unreachable_threshold"></EditTextPreference>
|
|
|
|
</PreferenceScreen>
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="@string/key_raise_notifications_as_android_notifications"
|
|
|
|
android:title="@string/raise_notifications_as_android_notifications" />
|
2017-01-14 14:25:06 +01:00
|
|
|
</PreferenceScreen>
|