2020-08-16 22:07:55 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-10-13 00:25:43 +02:00
|
|
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2020-08-16 22:07:55 +02:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="screen_events_forwarding"
|
2020-08-16 21:49:55 +02:00
|
|
|
android:icon="@drawable/ic_extension"
|
2020-08-16 22:07:55 +02:00
|
|
|
android:persistent="false"
|
|
|
|
android:summary="@string/prefs_events_forwarding_summary"
|
|
|
|
android:title="@string/prefs_events_forwarding_title">
|
|
|
|
|
2020-08-25 09:34:35 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/prefs_events_forwarding_fellsleep"
|
|
|
|
android:icon="@drawable/ic_nights_stay">
|
2020-08-16 22:07:55 +02:00
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:entries="@array/device_action_options"
|
|
|
|
android:entryValues="@array/device_action_values"
|
|
|
|
android:key="events_forwarding_fellsleep_action_selection"
|
|
|
|
android:summary="%s"
|
|
|
|
android:defaultValue="@string/pref_button_action_disabled_value"
|
|
|
|
android:title="@string/prefs_events_forwarding_action_title" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="@string/prefs_events_forwarding_fellsleep_broadcast_default_value"
|
|
|
|
android:key="prefs_events_forwarding_fellsleep_broadcast"
|
2020-10-13 00:25:43 +02:00
|
|
|
android:title="@string/prefs_events_forwarding_broadcast_title"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2020-08-16 22:07:55 +02:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2020-08-25 09:34:35 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/prefs_events_forwarding_wokeup"
|
2020-09-01 21:27:07 +02:00
|
|
|
android:icon="@drawable/ic_wb_sunny">
|
2020-08-16 22:07:55 +02:00
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:entries="@array/device_action_options"
|
|
|
|
android:entryValues="@array/device_action_values"
|
|
|
|
android:key="events_forwarding_wokeup_action_selection"
|
|
|
|
android:summary="%s"
|
|
|
|
android:defaultValue="@string/pref_button_action_disabled_value"
|
|
|
|
android:title="@string/prefs_events_forwarding_action_title" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="@string/prefs_events_forwarding_wokeup_broadcast_default_value"
|
|
|
|
android:key="prefs_events_forwarding_wokeup_broadcast"
|
2020-10-13 00:25:43 +02:00
|
|
|
android:title="@string/prefs_events_forwarding_broadcast_title"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2020-08-16 22:07:55 +02:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2020-08-25 09:34:35 +02:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="@string/prefs_events_forwarding_startnonwear"
|
|
|
|
android:icon="@drawable/ic_no_watch">
|
2020-08-16 22:07:55 +02:00
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:entries="@array/device_action_options"
|
|
|
|
android:entryValues="@array/device_action_values"
|
|
|
|
android:key="events_forwarding_startnonwear_action_selection"
|
|
|
|
android:summary="%s"
|
|
|
|
android:defaultValue="@string/pref_button_action_disabled_value"
|
|
|
|
android:title="@string/prefs_events_forwarding_action_title" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="@string/prefs_events_forwarding_startnonwear_broadcast_default_value"
|
|
|
|
android:key="prefs_events_forwarding_startnonwear_broadcast"
|
2020-10-13 00:25:43 +02:00
|
|
|
android:title="@string/prefs_events_forwarding_broadcast_title"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
2020-08-16 22:07:55 +02:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
|
|
|
|
</PreferenceScreen>
|
|
|
|
</androidx.preference.PreferenceScreen>
|