2017-01-24 10:28:42 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-01-26 12:07:25 +01:00
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
2017-01-24 10:28:42 +01:00
|
|
|
<PreferenceCategory
|
|
|
|
android:key="advanced"
|
|
|
|
android:title="@string/advancedsettings_title">
|
|
|
|
<PreferenceScreen
|
|
|
|
android:title="@string/advancedsettings_title">
|
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/nightscout">
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
2017-05-09 16:24:53 +02:00
|
|
|
android:key="@string/key_ns_upload_only"
|
2017-01-24 10:28:42 +01:00
|
|
|
android:title="@string/ns_upload_only"
|
|
|
|
android:summary="@string/ns_upload_only_summary"/>
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
2017-05-09 16:24:53 +02:00
|
|
|
android:key="@string/key_ns_noupload"
|
|
|
|
android:title="@string/ns_noupload"
|
|
|
|
android:summary="@string/ns_noupload_summary"/>
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
2017-01-24 10:28:42 +01:00
|
|
|
android:key="ns_sync_use_absolute"
|
|
|
|
android:title="@string/ns_sync_use_absolute_title" />
|
|
|
|
</PreferenceCategory>
|
2017-04-22 11:08:57 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/superbolus">
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="@string/key_usesuperbolus"
|
|
|
|
android:title="@string/enablesuperbolus"
|
|
|
|
android:summary="@string/enablesuperbolus_summary"/>
|
|
|
|
</PreferenceCategory>
|
2017-01-24 10:28:42 +01:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/openapsma">
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="always_use_shortavg"
|
|
|
|
android:title="@string/always_use_shortavg"
|
|
|
|
android:summary="@string/always_use_shortavg_summary"/>
|
|
|
|
</PreferenceCategory>
|
2017-01-25 15:18:01 +01:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="OpenAPS preferences.json">
|
2017-01-25 20:41:33 +01:00
|
|
|
<Preference
|
|
|
|
android:summary="@string/openapsama_link_to_preferncejson_doc_txt" >
|
|
|
|
<intent
|
|
|
|
android:action="android.intent.action.VIEW"
|
|
|
|
android:data="@string/openapsama_link_to_preferncejson_doc" />
|
|
|
|
</Preference>
|
2017-01-26 12:07:25 +01:00
|
|
|
<com.andreabaccega.widget.ValidatingEditTextPreference
|
|
|
|
validate:testType="numericRange"
|
|
|
|
validate:minNumber="1"
|
|
|
|
validate:maxNumber="10"
|
|
|
|
android:digits="0123456789.,"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:defaultValue="3"
|
|
|
|
android:selectAllOnFocus="true"
|
|
|
|
android:inputType="number"
|
2017-01-25 20:20:39 +01:00
|
|
|
android:maxLines="20"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:title="@string/openapsama_max_daily_safety_multiplier"
|
2017-01-25 20:20:39 +01:00
|
|
|
android:dialogMessage="@string/openapsama_max_daily_safety_multiplier_summary"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:key="openapsama_max_daily_safety_multiplier" />
|
2017-01-26 12:07:25 +01:00
|
|
|
<com.andreabaccega.widget.ValidatingEditTextPreference
|
|
|
|
validate:testType="numericRange"
|
|
|
|
validate:minNumber="1"
|
|
|
|
validate:maxNumber="10"
|
|
|
|
android:digits="0123456789.,"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:defaultValue="4"
|
|
|
|
android:selectAllOnFocus="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:inputType="number"
|
2017-01-25 20:20:39 +01:00
|
|
|
android:maxLines="20"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:title="@string/openapsama_current_basal_safety_multiplier"
|
2017-01-25 20:20:39 +01:00
|
|
|
android:dialogMessage="@string/openapsama_current_basal_safety_multiplier_summary"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:key="openapsama_current_basal_safety_multiplier" />
|
2017-01-26 12:07:25 +01:00
|
|
|
<com.andreabaccega.widget.ValidatingEditTextPreference
|
|
|
|
validate:testType="floatNumericRange"
|
2017-02-09 09:36:51 +01:00
|
|
|
validate:floatminNumber="0.5"
|
|
|
|
validate:floatmaxNumber="3"
|
2017-01-26 12:07:25 +01:00
|
|
|
android:digits="0123456789.,"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:defaultValue="1.2"
|
|
|
|
android:selectAllOnFocus="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:inputType="numberDecimal"
|
2017-01-25 20:20:39 +01:00
|
|
|
android:maxLines="20"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:title="@string/openapsama_autosens_max"
|
2017-01-25 20:20:39 +01:00
|
|
|
android:dialogMessage="@string/openapsama_autosens_max_summary"
|
2017-01-26 15:32:44 +01:00
|
|
|
android:key="openapsama_autosens_max" />
|
2017-01-26 12:07:25 +01:00
|
|
|
<com.andreabaccega.widget.ValidatingEditTextPreference
|
|
|
|
validate:testType="floatNumericRange"
|
2017-01-29 13:00:52 +01:00
|
|
|
validate:floatminNumber="0.1"
|
2017-02-09 09:36:51 +01:00
|
|
|
validate:floatmaxNumber="1.0"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:defaultValue="0.7"
|
|
|
|
android:selectAllOnFocus="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:inputType="numberDecimal"
|
2017-01-25 20:20:39 +01:00
|
|
|
android:maxLines="20"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:title="@string/openapsama_autosens_min"
|
2017-01-25 20:20:39 +01:00
|
|
|
android:dialogMessage="@string/openapsama_autosens_min_summary"
|
2017-01-26 15:32:44 +01:00
|
|
|
android:key="openapsama_autosens_min" />
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="openapsama_autosens_adjusttargets"
|
|
|
|
android:title="@string/openapsama_autosens_adjusttargets"
|
|
|
|
android:summary="@string/openapsama_autosens_adjusttargets_summary"/>
|
2017-01-26 12:07:25 +01:00
|
|
|
<com.andreabaccega.widget.ValidatingEditTextPreference
|
2017-06-29 19:38:38 +02:00
|
|
|
validate:testType="floatNumericRange"
|
2017-01-26 12:07:25 +01:00
|
|
|
validate:minNumber="1"
|
2017-06-29 19:38:38 +02:00
|
|
|
validate:maxNumber="10"
|
2017-01-26 12:07:25 +01:00
|
|
|
android:digits="0123456789.,"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:defaultValue="2"
|
|
|
|
android:selectAllOnFocus="true"
|
|
|
|
android:singleLine="true"
|
2017-06-29 19:38:38 +02:00
|
|
|
android:inputType="numberDecimal"
|
2017-01-25 20:20:39 +01:00
|
|
|
android:maxLines="20"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:title="@string/openapsama_bolussnooze_dia_divisor"
|
2017-01-25 20:20:39 +01:00
|
|
|
android:dialogMessage="@string/openapsama_bolussnooze_dia_divisor_summary"
|
2017-01-25 15:18:01 +01:00
|
|
|
android:key="openapsama_bolussnooze_dia_divisor" />
|
|
|
|
</PreferenceCategory>
|
2017-06-20 19:52:46 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/profile">
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="@string/key_do_not_track_profile_switch"
|
|
|
|
android:title="@string/do_not_track_profile_switch"
|
|
|
|
android:summary="@string/do_not_track_profile_switch_summary"/>
|
|
|
|
</PreferenceCategory>
|
2017-01-24 10:28:42 +01:00
|
|
|
</PreferenceScreen>
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|