icons: add icons for Settings / Automations

This commit is contained in:
Thomas Kuehne
2025-08-05 21:44:29 +02:00
committed by José Rebelo
parent 6634302353
commit 5d9d547250
3 changed files with 27 additions and 9 deletions
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M480,480L480,480Q480,480 480,480Q480,480 480,480L480,480L480,480L480,480Q480,480 480,480Q480,480 480,480L480,480L480,480ZM202,895L146,838L264,720L174,720L174,640L400,640L400,866L320,866L320,777L202,895ZM480,880L480,800L720,800Q720,800 720,800Q720,800 720,800L720,360L520,360L520,160L240,160Q240,160 240,160Q240,160 240,160L240,560L160,560L160,160Q160,127 183.5,103.5Q207,80 240,80L560,80L800,320L800,800Q800,833 776.5,856.5Q753,880 720,880L480,880Z"/>
</vector>
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M280,720Q180,720 110,650Q40,580 40,480Q40,380 110,310Q180,240 280,240L680,240Q780,240 850,310Q920,380 920,480Q920,580 850,650Q780,720 680,720L280,720ZM280,640L680,640Q746,640 793,593Q840,546 840,480Q840,414 793,367Q746,320 680,320L280,320Q214,320 167,367Q120,414 120,480Q120,546 167,593Q214,640 280,640ZM680,600Q730,600 765,565Q800,530 800,480Q800,430 765,395Q730,360 680,360Q630,360 595,395Q560,430 560,480Q560,530 595,565Q630,600 680,600ZM480,480L480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480L480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Z"/>
</vector>
+7 -9
View File
@@ -253,18 +253,17 @@
android:title="@string/pref_header_automations"> android:title="@string/pref_header_automations">
<PreferenceCategory <PreferenceCategory
android:title="@string/pref_header_auto_export" android:title="@string/pref_header_auto_export">
app:iconSpaceReserved="false">
<Preference <Preference
android:key="auto_export_location" android:key="auto_export_location"
android:title="@string/pref_title_auto_export_location" android:title="@string/pref_title_auto_export_location"
app:iconSpaceReserved="false" /> android:icon="@drawable/ic_file_export" />
<SwitchPreferenceCompat <SwitchPreferenceCompat
android:defaultValue="false" android:defaultValue="false"
android:key="auto_export_enabled" android:key="auto_export_enabled"
android:layout="@layout/preference_checkbox" android:layout="@layout/preference_checkbox"
android:title="@string/pref_title_auto_export_enabled" android:title="@string/pref_title_auto_export_enabled"
app:iconSpaceReserved="false" /> android:icon="@drawable/ic_toggle_on" />
<EditTextPreference <EditTextPreference
android:defaultValue="3" android:defaultValue="3"
android:dependency="auto_export_enabled" android:dependency="auto_export_enabled"
@@ -273,19 +272,18 @@
android:maxLength="3" android:maxLength="3"
android:summary="@string/pref_summary_auto_export_interval" android:summary="@string/pref_summary_auto_export_interval"
android:title="@string/pref_title_auto_export_interval" android:title="@string/pref_title_auto_export_interval"
app:iconSpaceReserved="false" /> android:icon="@drawable/ic_timer" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
android:title="@string/pref_header_auto_fetch" android:title="@string/pref_header_auto_fetch">
app:iconSpaceReserved="false">
<SwitchPreferenceCompat <SwitchPreferenceCompat
android:defaultValue="false" android:defaultValue="false"
android:key="auto_fetch_enabled" android:key="auto_fetch_enabled"
android:layout="@layout/preference_checkbox" android:layout="@layout/preference_checkbox"
android:summary="@string/pref_auto_fetch_summary" android:summary="@string/pref_auto_fetch_summary"
android:title="@string/pref_auto_fetch" android:title="@string/pref_auto_fetch"
app:iconSpaceReserved="false" /> android:icon="@drawable/ic_refresh" />
<EditTextPreference <EditTextPreference
android:defaultValue="0" android:defaultValue="0"
android:dependency="auto_fetch_enabled" android:dependency="auto_fetch_enabled"
@@ -294,7 +292,7 @@
android:maxLength="3" android:maxLength="3"
android:summary="@string/pref_auto_fetch_limit_fetches_summary" android:summary="@string/pref_auto_fetch_limit_fetches_summary"
android:title="@string/pref_auto_fetch_limit_fetches" android:title="@string/pref_auto_fetch_limit_fetches"
app:iconSpaceReserved="false" /> android:icon="@drawable/ic_timer" />
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>