summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflofriday <flohacksfriday@gmail.com>2024-04-21 19:50:19 +0200
committerGitHub <noreply@github.com>2024-04-21 19:50:19 +0200
commitc56facd141a34d33ef38c0bdbee04a9944de8de7 (patch)
tree7344c59ca5122c3c38da0ede02816a250f8ac8a2
parent841bda020f782e28c586dd15f5c4c40ebe84694b (diff)
downloadAntennaPod-c56facd141a34d33ef38c0bdbee04a9944de8de7.zip
Improve about icons (#7122)
The new icons better represent the contributors and the privacy policy.
-rw-r--r--ui/common/src/main/res/drawable/ic_contributors.xml9
-rw-r--r--ui/common/src/main/res/drawable/ic_policy.xml9
-rw-r--r--ui/preferences/src/main/res/xml/preferences_about.xml4
3 files changed, 20 insertions, 2 deletions
diff --git a/ui/common/src/main/res/drawable/ic_contributors.xml b/ui/common/src/main/res/drawable/ic_contributors.xml
new file mode 100644
index 000000000..809a4897e
--- /dev/null
+++ b/ui/common/src/main/res/drawable/ic_contributors.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="960"
+ android:viewportHeight="960">
+ <path
+ android:fillColor="?attr/action_icon_color"
+ android:pathData="M38,532q-18,-36 -28,-73T0,384q0,-112 76,-188t188,-76q63,0 120,26.5t96,73.5q39,-47 96,-73.5T696,120q112,0 188,76t76,188q0,38 -10,75t-28,73q-11,-19 -26,-34t-35,-24q9,-23 14,-45t5,-45q0,-78 -53,-131t-131,-53q-81,0 -124.5,44.5T480,344q-48,-56 -91.5,-100T264,200q-78,0 -131,53T80,384q0,23 5,45t14,45q-20,9 -35,24t-26,34ZM0,880v-63q0,-44 44.5,-70.5T160,720q13,0 25,0.5t23,2.5q-14,20 -21,43t-7,49v65L0,880ZM240,880v-65q0,-65 66.5,-105T480,670q108,0 174,40t66,105v65L240,880ZM780,880v-65q0,-26 -6.5,-49T754,723q11,-2 22.5,-2.5t23.5,-0.5q72,0 116,26.5t44,70.5v63L780,880ZM480,750q-57,0 -102,15t-53,35h311q-9,-20 -53.5,-35T480,750ZM160,680q-33,0 -56.5,-23.5T80,600q0,-34 23.5,-57t56.5,-23q34,0 57,23t23,57q0,33 -23,56.5T160,680ZM800,680q-33,0 -56.5,-23.5T720,600q0,-34 23.5,-57t56.5,-23q34,0 57,23t23,57q0,33 -23,56.5T800,680ZM480,640q-50,0 -85,-35t-35,-85q0,-51 35,-85.5t85,-34.5q51,0 85.5,34.5T600,520q0,50 -34.5,85T480,640ZM480,480q-17,0 -28.5,11.5T440,520q0,17 11.5,28.5T480,560q17,0 28.5,-11.5T520,520q0,-17 -11.5,-28.5T480,480ZM480,520ZM481,800Z"/>
+</vector>
diff --git a/ui/common/src/main/res/drawable/ic_policy.xml b/ui/common/src/main/res/drawable/ic_policy.xml
new file mode 100644
index 000000000..b24ace8c0
--- /dev/null
+++ b/ui/common/src/main/res/drawable/ic_policy.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="960"
+ android:viewportHeight="960">
+ <path
+ android:fillColor="?attr/action_icon_color"
+ android:pathData="M480,880q-139,-35 -229.5,-159.5T160,444v-244l320,-120 320,120v244q0,85 -29,163.5T688,746L560,618q-18,11 -38.5,16.5T480,640q-66,0 -113,-47t-47,-113q0,-66 47,-113t113,-47q66,0 113,47t47,113q0,22 -5.5,42.5T618,562l60,60q20,-41 31,-86t11,-92v-189l-240,-90 -240,90v189q0,121 68,220t172,132q26,-8 49.5,-20.5T576,746l56,56q-33,27 -71.5,47T480,880ZM480,560q33,0 56.5,-23.5T560,480q0,-33 -23.5,-56.5T480,400q-33,0 -56.5,23.5T400,480q0,33 23.5,56.5T480,560ZM488,483Z"/>
+</vector>
diff --git a/ui/preferences/src/main/res/xml/preferences_about.xml b/ui/preferences/src/main/res/xml/preferences_about.xml
index 1312d5466..f26c3ef65 100644
--- a/ui/preferences/src/main/res/xml/preferences_about.xml
+++ b/ui/preferences/src/main/res/xml/preferences_about.xml
@@ -11,12 +11,12 @@
android:summary="1.7.2 (asd8qs)"/>
<Preference
android:key="about_contributors"
- android:icon="@drawable/ic_settings"
+ android:icon="@drawable/ic_contributors"
android:summary="@string/contributors_summary"
android:title="@string/contributors"/>
<Preference
android:key="about_privacy_policy"
- android:icon="@drawable/ic_questionmark"
+ android:icon="@drawable/ic_policy"
android:summary="www.antennapod.org/privacy"
android:title="@string/privacy_policy"/>
<Preference