Adaptive Launcher-Icon fehlte komplett - weisser Rand um das App-Icon behoben
flutter_launcher_icons war zwar in pubspec.yaml konfiguriert (image_path, adaptive_icon_background, adaptive_icon_foreground zeigen bereits korrekt auf assets/icon/), wurde aber nie mit den adaptiven Icon-Assets ausgefuehrt: es existierte kein mipmap-anydpi-v26/ic_launcher.xml, nur das alte flache Icon in mipmap-*/ic_launcher.png. Ohne adaptive Icon-Ressourcen wrapped Android das flache quadratische Icon selbst in einen synthetischen adaptiven Icon-Platzhalter mit weissem Rand. `dart run flutter_launcher_icons` ausgefuehrt - erzeugt jetzt mipmap-anydpi-v26/ic_launcher.xml plus die drawable-*/ic_launcher_ background.png/ic_launcher_foreground.png pro Dichte aus den bereits vorhandenen assets/icon/ic_background.png/ic_foreground.png. Auf dem Pixel_10a-Emulator verifiziert: kein weisser Rand mehr, sauberer pinker Kreis mit Chevron und "DC"-Logo. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 7.3 KiB |
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<background android:drawable="@drawable/ic_launcher_background"/>
|
||||||
|
<foreground>
|
||||||
|
<inset
|
||||||
|
android:drawable="@drawable/ic_launcher_foreground"
|
||||||
|
android:inset="16%" />
|
||||||
|
</foreground>
|
||||||
|
</adaptive-icon>
|
||||||