droid: icon PNGs at every density, and a store icon, for F-Droid

8295a73 · Gabriel Morell · 2026-09-30 03:53

29 files +112 -2
Message
{commit_body(@commit)}

Files changed

modified README.md
+4 −0
@@ -114,6 +114,10 @@ its colours to Android for Material You.
114 114
115 115 cd droid && ./gradlew :app:testDebugUnitTest :app:assembleDebug
116 116
117 +The icon is generated by `tools/icons.py`: the adaptive icon's vector,
118 +PNGs at every density (F-Droid reads the icon from the APK and cannot
119 +render adaptive icons), and a 512 px store icon under `droid/fastlane`.
120 +
117 121 CI (`.github/workflows/android.yml`) builds it in a container
118 122 (`droid/Dockerfile`, context the repository root), signs it and
119 123 publishes it to the forge's F-Droid repository, as Ova does. It needs
modified droid/app/src/main/AndroidManifest.xml
+1 −0
@@ -11,6 +11,7 @@
11 11 <application
12 12 android:allowBackup="true"
13 13 android:icon="@mipmap/ic_launcher"
14 + android:roundIcon="@mipmap/ic_launcher"
14 15 android:label="@string/app_name"
15 16 android:supportsRtl="true"
16 17 android:theme="@style/Theme.Moire">
modified droid/app/src/main/res/drawable/ic_foreground.xml
+2 −2
@@ -1,6 +1,6 @@
1 1 <?xml version="1.0" encoding="utf-8"?>
2 −<!-- Two ring families slightly apart: a small moire. Generated once;
3 − centred in the 108dp adaptive icon, within its 66dp safe zone. -->
2 +<!-- Generated by tools/icons.py; do not edit. Two ring families
3 + slightly apart: a small moire, within the 66dp safe zone. -->
4 4 <vector xmlns:android="http://schemas.android.com/apk/res/android"
5 5 android:width="108dp"
6 6 android:height="108dp"
renamed
+0 −0

No textual hunks.

modified ?
+0 −0

Binary file — not rendered.

modified ?
+0 −0

Click to load diff…

modified ?
+0 −0

Click to load diff…

modified ?
+0 −0

Click to load diff…

modified ?
+0 −0

Click to load diff…

modified ?
+0 −0

Click to load diff…

added tools/icons.py
+105 −0

Click to load diff…

Parents: 3702d46