106 lines
5 KiB
XML
106 lines
5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
|
<PreferenceCategory
|
|
android:key="others"
|
|
android:title="@string/othersettings_title">
|
|
<PreferenceScreen android:title="@string/default_temptargets">
|
|
<EditTextPreference
|
|
android:defaultValue="0"
|
|
android:inputType="number"
|
|
android:key="@string/key_eatingsoon_duration"
|
|
android:title="@string/eatingsoon_duration"></EditTextPreference>
|
|
<EditTextPreference
|
|
android:defaultValue="0"
|
|
android:inputType="numberDecimal"
|
|
android:key="@string/key_eatingsoon_target"
|
|
android:title="@string/eatingsoon_target"></EditTextPreference>
|
|
<EditTextPreference
|
|
android:defaultValue="0"
|
|
android:inputType="number"
|
|
android:key="@string/key_activity_duration"
|
|
android:title="@string/activity_duration"></EditTextPreference>
|
|
<EditTextPreference
|
|
android:defaultValue="0"
|
|
android:inputType="numberDecimal"
|
|
android:key="@string/key_activity_target"
|
|
android:title="@string/activity_target"></EditTextPreference>
|
|
<EditTextPreference
|
|
android:defaultValue="0"
|
|
android:inputType="number"
|
|
android:key="@string/key_hypo_duration"
|
|
android:title="@string/hypo_duration"></EditTextPreference>
|
|
<EditTextPreference
|
|
android:defaultValue="0"
|
|
android:inputType="numberDecimal"
|
|
android:key="@string/key_hypo_target"
|
|
android:title="@string/hypo_target"></EditTextPreference>
|
|
</PreferenceScreen>
|
|
<PreferenceScreen android:title="@string/fillbolus_title">
|
|
<EditTextPreference
|
|
android:defaultValue="0.3"
|
|
android:inputType="numberDecimal"
|
|
android:key="fill_button1"
|
|
android:title="@string/button1"></EditTextPreference>
|
|
<EditTextPreference
|
|
android:defaultValue="0"
|
|
android:inputType="numberDecimal"
|
|
android:key="fill_button2"
|
|
android:title="@string/button2"></EditTextPreference>
|
|
<EditTextPreference
|
|
android:defaultValue="0"
|
|
android:inputType="numberDecimal"
|
|
android:key="fill_button3"
|
|
android:title="@string/button3"></EditTextPreference>
|
|
</PreferenceScreen>
|
|
<PreferenceScreen
|
|
android:summary="@string/prefs_range_summary"
|
|
android:title="@string/prefs_range_title">
|
|
<EditTextPreference
|
|
android:defaultValue="0"
|
|
android:inputType="numberDecimal"
|
|
android:key="low_mark"
|
|
android:title="@string/low_mark"></EditTextPreference>
|
|
<EditTextPreference
|
|
android:defaultValue="0"
|
|
android:inputType="numberDecimal"
|
|
android:key="high_mark"
|
|
android:title="@string/high_mark"></EditTextPreference>
|
|
</PreferenceScreen>
|
|
<SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="short_tabtitles"
|
|
android:title="@string/short_tabtitles" />
|
|
</PreferenceCategory>
|
|
<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" />
|
|
<com.andreabaccega.widget.ValidatingEditTextPreference
|
|
validate:testType="numericRange"
|
|
validate:minNumber="30"
|
|
validate:maxNumber="300"
|
|
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">
|
|
</com.andreabaccega.widget.ValidatingEditTextPreference>
|
|
</PreferenceScreen>
|
|
<SwitchPreference
|
|
android:defaultValue="false"
|
|
android:key="@string/key_raise_notifications_as_android_notifications"
|
|
android:title="@string/raise_notifications_as_android_notifications" />
|
|
</PreferenceScreen>
|