Add ducky icon for Android
Co-Authored-By: Claude <noreply@anthropic.com>
@@ -135,6 +135,17 @@
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
<activity-alias
|
||||
android:name="${applicationId}.IconDuckyHuggingE"
|
||||
android:icon="@mipmap/icon_ducky_hugging_e"
|
||||
android:enabled="false"
|
||||
android:exported="true"
|
||||
android:targetActivity=".MainActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
|
||||
<!-- Don't delete the meta-data below.
|
||||
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
||||
|
||||
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 46 KiB |
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_ducky_hugging_e_launcher_foreground"/>
|
||||
</adaptive-icon>
|
||||
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
@@ -13,7 +13,8 @@ enum AppIcon {
|
||||
iconGreen("Default", "IconGreen", "assets/launcher_icon/icon-green.png"),
|
||||
iconLight("Light", "IconLight", "assets/launcher_icon/icon-light.png"),
|
||||
iconDark("Dark", "IconDark", "assets/launcher_icon/icon-dark.png"),
|
||||
iconOG("OG", "IconOG", "assets/launcher_icon/icon-og.png");
|
||||
iconOG("OG", "IconOG", "assets/launcher_icon/icon-og.png"),
|
||||
iconDuckyHuggingE("Ducky", "IconDuckyHuggingE", "assets/launcher_icon/icon-ducky-hugging-e-foreground.png");
|
||||
|
||||
final String name;
|
||||
final String id;
|
||||
@@ -175,13 +176,26 @@ class _AppIconTile extends StatelessWidget {
|
||||
cornerRadius: 12,
|
||||
cornerSmoothing: 1,
|
||||
),
|
||||
child: Image(
|
||||
width: 60,
|
||||
height: 60,
|
||||
image: AssetImage(
|
||||
appIcon.path,
|
||||
),
|
||||
),
|
||||
child: appIcon == AppIcon.iconDuckyHuggingE
|
||||
? Container(
|
||||
width: 60,
|
||||
height: 60,
|
||||
color: const Color(0xFF08C225),
|
||||
child: Image(
|
||||
width: 60,
|
||||
height: 60,
|
||||
image: AssetImage(
|
||||
appIcon.path,
|
||||
),
|
||||
),
|
||||
)
|
||||
: Image(
|
||||
width: 60,
|
||||
height: 60,
|
||||
image: AssetImage(
|
||||
appIcon.path,
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
AnimatedSwitcher(
|
||||
|
||||