nsclient preferences cleanup
This commit is contained in:
parent
6ad0c1f1d3
commit
fe762248a5
2 changed files with 19 additions and 19 deletions
|
@ -5,22 +5,6 @@
|
||||||
android:key="advanced"
|
android:key="advanced"
|
||||||
android:title="@string/advancedsettings_title">
|
android:title="@string/advancedsettings_title">
|
||||||
<PreferenceScreen android:title="@string/advancedsettings_title">
|
<PreferenceScreen android:title="@string/advancedsettings_title">
|
||||||
<PreferenceCategory android:title="@string/nightscout">
|
|
||||||
<SwitchPreference
|
|
||||||
android:defaultValue="false"
|
|
||||||
android:key="@string/key_ns_upload_only"
|
|
||||||
android:summary="@string/ns_upload_only_summary"
|
|
||||||
android:title="@string/ns_upload_only" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:defaultValue="false"
|
|
||||||
android:key="@string/key_ns_noupload"
|
|
||||||
android:summary="@string/ns_noupload_summary"
|
|
||||||
android:title="@string/ns_noupload" />
|
|
||||||
<SwitchPreference
|
|
||||||
android:defaultValue="false"
|
|
||||||
android:key="ns_sync_use_absolute"
|
|
||||||
android:title="@string/ns_sync_use_absolute_title" />
|
|
||||||
</PreferenceCategory>
|
|
||||||
<PreferenceCategory android:title="@string/superbolus">
|
<PreferenceCategory android:title="@string/superbolus">
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||||
<PreferenceCategory
|
|
||||||
android:title="@string/nsclientinternal_title">
|
<PreferenceCategory android:title="@string/nsclientinternal_title">
|
||||||
|
|
||||||
<com.andreabaccega.widget.ValidatingEditTextPreference
|
<com.andreabaccega.widget.ValidatingEditTextPreference
|
||||||
android:defaultValue="https://{YOUR-SITE}.azurewebsites.net/"
|
android:defaultValue="https://{YOUR-SITE}.azurewebsites.net/"
|
||||||
|
@ -14,7 +14,6 @@
|
||||||
validate:testType="webUrl" />
|
validate:testType="webUrl" />
|
||||||
|
|
||||||
<EditTextPreference
|
<EditTextPreference
|
||||||
android:defaultValue=""
|
|
||||||
android:dialogMessage="@string/nsclientinternal_secret_dialogmessage"
|
android:dialogMessage="@string/nsclientinternal_secret_dialogmessage"
|
||||||
android:dialogTitle="@string/nsclientinternal_secret_dialogtitle"
|
android:dialogTitle="@string/nsclientinternal_secret_dialogtitle"
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
|
@ -105,6 +104,23 @@
|
||||||
android:summary="@string/ns_localbroadcasts"
|
android:summary="@string/ns_localbroadcasts"
|
||||||
android:title="@string/ns_localbroadcasts_title" />
|
android:title="@string/ns_localbroadcasts_title" />
|
||||||
|
|
||||||
|
<SwitchPreference
|
||||||
|
android:defaultValue="false"
|
||||||
|
android:key="@string/key_ns_upload_only"
|
||||||
|
android:summary="@string/ns_upload_only_summary"
|
||||||
|
android:title="@string/ns_upload_only" />
|
||||||
|
|
||||||
|
<SwitchPreference
|
||||||
|
android:defaultValue="false"
|
||||||
|
android:key="@string/key_ns_noupload"
|
||||||
|
android:summary="@string/ns_noupload_summary"
|
||||||
|
android:title="@string/ns_noupload" />
|
||||||
|
|
||||||
|
<SwitchPreference
|
||||||
|
android:defaultValue="false"
|
||||||
|
android:key="ns_sync_use_absolute"
|
||||||
|
android:title="@string/ns_sync_use_absolute_title" />
|
||||||
|
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
Loading…
Reference in a new issue