Add OG icon

This commit is contained in:
vishnukvmd
2025-03-12 23:55:17 +05:30
parent 8aab6513f2
commit 40ae8d91c3
38 changed files with 23 additions and 5 deletions

View File

@@ -85,10 +85,21 @@
</intent-filter>
</activity>
<activity-alias
android:name="${applicationId}.IconGreen"
android:icon="@mipmap/icon_green"
android:enabled="true"
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>
<activity-alias
android:name="${applicationId}.IconLight"
android:icon="@mipmap/icon_light"
android:enabled="true"
android:enabled="false"
android:exported="true"
android:targetActivity=".MainActivity">
<intent-filter>
@@ -108,8 +119,8 @@
</intent-filter>
</activity-alias>
<activity-alias
android:name="${applicationId}.IconGreen"
android:icon="@mipmap/icon_green"
android:name="${applicationId}.IconOG"
android:icon="@mipmap/icon_og"
android:enabled="false"
android:exported="true"
android:targetActivity=".MainActivity">

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@@ -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_light"/>
<foreground android:drawable="@drawable/ic_og_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -716,7 +716,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ALWAYS_SEARCH_USER_PATHS = NO;
"ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES[sdk=*]" = "IconGreen IconLight IconDark";
"ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES[sdk=*]" = "IconGreen IconLight IconDark IconOG";
"ASSETCATALOG_COMPILER_APPICON_NAME[sdk=*]" = IconGreen;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CLANG_ANALYZER_NONNULL = YES;

View File

@@ -0,0 +1 @@
{"images":[{"size":"20x20","idiom":"iphone","filename":"IconOG-20x20@2x.png","scale":"2x"},{"size":"20x20","idiom":"iphone","filename":"IconOG-20x20@3x.png","scale":"3x"},{"size":"29x29","idiom":"iphone","filename":"IconOG-29x29@1x.png","scale":"1x"},{"size":"29x29","idiom":"iphone","filename":"IconOG-29x29@2x.png","scale":"2x"},{"size":"29x29","idiom":"iphone","filename":"IconOG-29x29@3x.png","scale":"3x"},{"size":"40x40","idiom":"iphone","filename":"IconOG-40x40@2x.png","scale":"2x"},{"size":"40x40","idiom":"iphone","filename":"IconOG-40x40@3x.png","scale":"3x"},{"size":"50x50","idiom":"ipad","filename":"IconOG-50x50@1x.png","scale":"1x"},{"size":"50x50","idiom":"ipad","filename":"IconOG-50x50@2x.png","scale":"2x"},{"size":"57x57","idiom":"iphone","filename":"IconOG-57x57@1x.png","scale":"1x"},{"size":"57x57","idiom":"iphone","filename":"IconOG-57x57@2x.png","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"IconOG-60x60@2x.png","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"IconOG-60x60@3x.png","scale":"3x"},{"size":"20x20","idiom":"ipad","filename":"IconOG-20x20@1x.png","scale":"1x"},{"size":"20x20","idiom":"ipad","filename":"IconOG-20x20@2x.png","scale":"2x"},{"size":"29x29","idiom":"ipad","filename":"IconOG-29x29@1x.png","scale":"1x"},{"size":"29x29","idiom":"ipad","filename":"IconOG-29x29@2x.png","scale":"2x"},{"size":"40x40","idiom":"ipad","filename":"IconOG-40x40@1x.png","scale":"1x"},{"size":"40x40","idiom":"ipad","filename":"IconOG-40x40@2x.png","scale":"2x"},{"size":"72x72","idiom":"ipad","filename":"IconOG-72x72@1x.png","scale":"1x"},{"size":"72x72","idiom":"ipad","filename":"IconOG-72x72@2x.png","scale":"2x"},{"size":"76x76","idiom":"ipad","filename":"IconOG-76x76@1x.png","scale":"1x"},{"size":"76x76","idiom":"ipad","filename":"IconOG-76x76@2x.png","scale":"2x"},{"size":"83.5x83.5","idiom":"ipad","filename":"IconOG-83.5x83.5@2x.png","scale":"2x"},{"size":"1024x1024","idiom":"ios-marketing","filename":"IconOG-1024x1024@1x.png","scale":"1x"}],"info":{"version":1,"author":"xcode"}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 831 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 831 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -11,7 +11,8 @@ import "package:photos/ui/components/title_bar_widget.dart";
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");
iconDark("Dark", "IconDark", "assets/launcher_icon/icon-dark.png"),
iconOG("OG", "IconOG", "assets/launcher_icon/icon-og.png");
final String name;
final String id;