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

119 lines
6.3 KiB
XML
Raw Normal View History

2017-01-24 10:28:42 +01:00
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:key="advanced"
android:title="@string/advancedsettings_title">
<PreferenceScreen
android:title="@string/advancedsettings_title">
<PreferenceCategory
android:title="@string/nightscout">
<SwitchPreference
android:defaultValue="false"
android:key="ns_upload_only"
android:title="@string/ns_upload_only"
android:summary="@string/ns_upload_only_summary"/>
<SwitchPreference
android:defaultValue="false"
android:key="ns_sync_use_absolute"
android:title="@string/ns_sync_use_absolute_title" />
</PreferenceCategory>
<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>
<PreferenceCategory
android:title="OpenAPS preferences.json">
<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>
<EditTextPreference
android:defaultValue="3"
android:selectAllOnFocus="true"
android:inputType="number"
2017-01-25 20:20:39 +01:00
android:maxLines="20"
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"
android:key="openapsama_max_daily_safety_multiplier" />
<EditTextPreference
android:defaultValue="4"
android:selectAllOnFocus="true"
android:singleLine="true"
android:inputType="number"
2017-01-25 20:20:39 +01:00
android:maxLines="20"
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"
android:key="openapsama_current_basal_safety_multiplier" />
<EditTextPreference
android:defaultValue="1.2"
android:selectAllOnFocus="true"
android:singleLine="true"
android:inputType="numberDecimal"
2017-01-25 20:20:39 +01:00
android:maxLines="20"
android:title="@string/openapsama_autosens_max"
2017-01-25 20:20:39 +01:00
android:dialogMessage="@string/openapsama_autosens_max_summary"
android:key="openapsama_autosens_max"
android:dependency="openapsama_useautosens"/>
<EditTextPreference
android:defaultValue="0.7"
android:selectAllOnFocus="true"
android:singleLine="true"
android:inputType="numberDecimal"
2017-01-25 20:20:39 +01:00
android:maxLines="20"
android:title="@string/openapsama_autosens_min"
2017-01-25 20:20:39 +01:00
android:dialogMessage="@string/openapsama_autosens_min_summary"
android:key="openapsama_autosens_min"
android:dependency="openapsama_useautosens"/>
2017-01-25 20:20:39 +01:00
<PreferenceScreen
android:title="@string/openapsama_autosens_adjusttargets">
<PreferenceCategory
android:title="@string/openapsama_autosens_adjusttargets">
<Preference android:summary="@string/openapsama_autosens_adjusttargets_summary" />
<SwitchPreference
android:defaultValue="true"
android:key="openapsama_autosens_adjusttargets"
android:dependency="openapsama_useautosens"
android:title="@string/openapsama_autosens_adjusttargets" />
</PreferenceCategory>
</PreferenceScreen>
<PreferenceScreen
android:title="@string/openapsama_skip_neutral_temps">
<PreferenceCategory
android:title="@string/openapsama_skip_neutral_temps">
<Preference android:summary="@string/openapsama_skip_neutral_temps_summary" />
<SwitchPreference
android:defaultValue="false"
android:title="@string/openapsama_skip_neutral_temps"
android:key="openapsama_skip_neutral_temps"
android:dependency="openapsama_useautosens" />
</PreferenceCategory>
</PreferenceScreen>
<EditTextPreference
android:defaultValue="2"
android:selectAllOnFocus="true"
android:singleLine="true"
android:inputType="number"
2017-01-25 20:20:39 +01:00
android:maxLines="20"
android:title="@string/openapsama_bolussnooze_dia_divisor"
2017-01-25 20:20:39 +01:00
android:dialogMessage="@string/openapsama_bolussnooze_dia_divisor_summary"
android:key="openapsama_bolussnooze_dia_divisor" />
<EditTextPreference
android:defaultValue="3"
android:selectAllOnFocus="true"
android:singleLine="true"
android:inputType="numberDecimal"
2017-01-25 20:20:39 +01:00
android:maxLines="20"
android:title="@string/openapsama_min_5m_carbimpact"
2017-01-25 20:20:39 +01:00
android:dialogMessage="@string/openapsama_min_5m_carbimpact_summary"
android:key="openapsama_min_5m_carbimpact" />
</PreferenceCategory>
2017-01-24 10:28:42 +01:00
</PreferenceScreen>
</PreferenceCategory>
</PreferenceScreen>