mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 02:21:14 +01:00
34 lines
1.3 KiB
XML
34 lines
1.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||
|
<PreferenceScreen
|
||
|
android:key="screen_do_not_disturb"
|
||
|
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/mi2_do_not_disturb"
|
||
|
android:entryValues="@array/mi2_do_not_disturb_values"
|
||
|
android:key="do_not_disturb"
|
||
|
android:summary="%s"
|
||
|
android:title="@string/mi2_prefs_do_not_disturb" />
|
||
|
|
||
|
<nodomain.freeyourgadget.gadgetbridge.util.XTimePreference
|
||
|
android:defaultValue="01:00"
|
||
|
android:key="do_not_disturb_start"
|
||
|
android:title="@string/mi2_prefs_do_not_disturb_start" />
|
||
|
|
||
|
<nodomain.freeyourgadget.gadgetbridge.util.XTimePreference
|
||
|
android:defaultValue="06:00"
|
||
|
android:key="do_not_disturb_end"
|
||
|
android:title="@string/mi2_prefs_do_not_disturb_end" />
|
||
|
|
||
|
</PreferenceScreen>
|
||
|
|
||
|
|
||
|
</androidx.preference.PreferenceScreen>
|