1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-01-23 08:07:33 +01:00
Gadgetbridge/app/src/main/res/xml/devicesettings_device_actions.xml
TaaviE 4aea2e626c Improve icon size consistency in ControlCenterv2 (#2000)
Tinted the ic_delete_forever.xml correctly

Updated the default icon to look consistent with the rest

Due to being used in FABs, made ic_add white by-default and tinted ic_block properly

Adjusted Amazfit Bip and the ic_no_watch drawables to look more uniform with the rest

Re-imported the Amazfit Bip icon to fit the rest

Re-imported all material.io icons with the same DPI, renamed to original names, optimized and tinted every icon the same way

Updated the ic_switch_left icon to look better on smaller screens

scale refresh in control center to match the rest

Improved the icon size consistency in ControlCenter

Co-authored-by: TaaviE <taavi.eomae@gmail.com>
Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2000
2020-09-01 21:27:07 +02:00

64 lines
3.1 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_events_forwarding"
android:icon="@drawable/ic_extension"
android:persistent="false"
android:summary="@string/prefs_events_forwarding_summary"
android:title="@string/prefs_events_forwarding_title">
<PreferenceCategory
android:title="@string/prefs_events_forwarding_fellsleep"
android:icon="@drawable/ic_nights_stay">
<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"
android:title="@string/prefs_events_forwarding_broadcast_title" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/prefs_events_forwarding_wokeup"
android:icon="@drawable/ic_wb_sunny">
<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"
android:title="@string/prefs_events_forwarding_broadcast_title" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/prefs_events_forwarding_startnonwear"
android:icon="@drawable/ic_no_watch">
<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"
android:title="@string/prefs_events_forwarding_broadcast_title" />
</PreferenceCategory>
</PreferenceScreen>
</androidx.preference.PreferenceScreen>