mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-02 15:02:56 +01:00
39 lines
1.7 KiB
XML
39 lines
1.7 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_arrow_upward"
|
|
android:key="pref_screen_lift_wrist"
|
|
android:persistent="false"
|
|
android:title="@string/mi2_prefs_activate_display_on_lift">
|
|
|
|
<!-- workaround for missing toolbar -->
|
|
<PreferenceCategory android:title="@string/mi2_prefs_activate_display_on_lift" />
|
|
|
|
<ListPreference
|
|
android:defaultValue="@string/p_off"
|
|
android:entries="@array/activate_display_on_lift"
|
|
android:entryValues="@array/activate_display_on_lift_values"
|
|
android:key="activate_display_on_lift_wrist"
|
|
android:summary="%s"
|
|
android:title="@string/mi2_prefs_activate_display_on_lift" />
|
|
|
|
<ListPreference
|
|
android:defaultValue="@string/p_normal"
|
|
android:entries="@array/activate_display_on_lift_sensitivity"
|
|
android:entryValues="@array/activate_display_on_lift_sensitivity_values"
|
|
android:key="display_on_lift_sensitivity"
|
|
android:summary="%s"
|
|
android:title="@string/prefs_activate_display_on_lift_sensitivity" />
|
|
|
|
<nodomain.freeyourgadget.gadgetbridge.util.XTimePreference
|
|
android:defaultValue="00:00"
|
|
android:key="display_on_lift_start"
|
|
android:title="@string/mi2_prefs_do_not_disturb_start" />
|
|
|
|
<nodomain.freeyourgadget.gadgetbridge.util.XTimePreference
|
|
android:defaultValue="00:00"
|
|
android:key="display_on_lift_end"
|
|
android:title="@string/mi2_prefs_do_not_disturb_end" />
|
|
|
|
</PreferenceScreen>
|
|
</androidx.preference.PreferenceScreen> |