mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-12 11:47:46 +01:00
35 lines
1.4 KiB
XML
35 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<PreferenceScreen
|
|
android:icon="@drawable/ic_block"
|
|
android:key="screen_do_not_disturb_no_auto"
|
|
android:persistent="false"
|
|
android:summary="@string/mi2_prefs_do_not_disturb_summary"
|
|
android:title="@string/mi2_prefs_do_not_disturb">
|
|
|
|
<!-- workaround for missing toolbar -->
|
|
<PreferenceCategory android:title="@string/mi2_prefs_do_not_disturb" />
|
|
|
|
<ListPreference
|
|
android:defaultValue="@string/p_off"
|
|
android:entries="@array/do_not_disturb_no_auto"
|
|
android:entryValues="@array/do_not_disturb_no_auto_values"
|
|
android:key="do_not_disturb_no_auto"
|
|
android:summary="%s"
|
|
android:title="@string/mi2_prefs_do_not_disturb" />
|
|
|
|
<nodomain.freeyourgadget.gadgetbridge.util.XTimePreference
|
|
android:defaultValue="22:00"
|
|
android:key="do_not_disturb_no_auto_start"
|
|
android:title="@string/mi2_prefs_do_not_disturb_start" />
|
|
|
|
<nodomain.freeyourgadget.gadgetbridge.util.XTimePreference
|
|
android:defaultValue="06:00"
|
|
android:key="do_not_disturb_no_auto_end"
|
|
android:title="@string/mi2_prefs_do_not_disturb_end" />
|
|
|
|
</PreferenceScreen>
|
|
|
|
|
|
</androidx.preference.PreferenceScreen>
|