mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-10 08:16:48 +02:00
36 lines
1.4 KiB
XML
36 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_activity_sleep"
|
||
|
android:key="screen_longsit"
|
||
|
android:persistent="false"
|
||
|
android:summary="@string/pref_summary_longsit"
|
||
|
android:title="@string/prefs_longsit_switch">
|
||
|
|
||
|
<!-- workaround for missing toolbar -->
|
||
|
<PreferenceCategory android:title="@string/pref_summary_longsit" />
|
||
|
|
||
|
<SwitchPreference
|
||
|
android:defaultValue="false"
|
||
|
android:key="pref_longsit_switch"
|
||
|
android:title="@string/prefs_longsit_switch" />
|
||
|
<EditTextPreference
|
||
|
android:defaultValue="60"
|
||
|
android:key="pref_longsit_period"
|
||
|
android:summary="@string/pref_summary_longsit"
|
||
|
android:title="@string/pref_title_longsit"/>
|
||
|
<nodomain.freeyourgadget.gadgetbridge.util.XTimePreference
|
||
|
android:defaultValue="06:00"
|
||
|
android:key="pref_longsit_start"
|
||
|
android:title="@string/mi2_prefs_do_not_disturb_start" />
|
||
|
|
||
|
<nodomain.freeyourgadget.gadgetbridge.util.XTimePreference
|
||
|
android:defaultValue="23:00"
|
||
|
android:key="pref_longsit_end"
|
||
|
android:title="@string/mi2_prefs_do_not_disturb_end" />
|
||
|
|
||
|
</PreferenceScreen>
|
||
|
|
||
|
|
||
|
</androidx.preference.PreferenceScreen>
|