changed to adaptive icon

This commit is contained in:
ashilkn 2022-06-25 11:47:55 +05:30
parent 677e01ae9d
commit f4ecb1d1da
15 changed files with 11 additions and 4 deletions
android/app/src/main
assets/launcher_icon
pubspec.yaml

View file

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.ente.photos">
<application android:name="${applicationName}" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true" android:requestLegacyExternalStorage="true" android:allowBackup="false" android:fullBackupContent="false" android:largeHeap="true">
<application android:name="${applicationName}" android:label="@string/app_name" android:icon="@mipmap/launcher_icon" android:usesCleartextTraffic="true" android:requestLegacyExternalStorage="true" android:allowBackup="false" android:fullBackupContent="false" android:largeHeap="true">
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
<intent-filter>

Binary file not shown.

After

(image error) Size: 2.5 KiB

Binary file not shown.

After

(image error) Size: 1.6 KiB

Binary file not shown.

After

(image error) Size: 3.5 KiB

Binary file not shown.

After

(image error) Size: 5.5 KiB

Binary file not shown.

After

(image error) Size: 7.5 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"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

Before

(image error) Size: 1.2 KiB

After

(image error) Size: 1.5 KiB

Binary file not shown.

Before

(image error) Size: 795 B

After

(image error) Size: 1 KiB

Binary file not shown.

Before

(image error) Size: 1.7 KiB

After

(image error) Size: 1.9 KiB

Binary file not shown.

Before

(image error) Size: 2.4 KiB

After

(image error) Size: 2.7 KiB

Binary file not shown.

Before

(image error) Size: 3.2 KiB

After

(image error) Size: 3.6 KiB

View file

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="splash_color">#000000</color>
<color name="ic_launcher_background">#ffffff</color>
</resources>

Binary file not shown.

After

(image error) Size: 6.3 KiB

View file

@ -126,10 +126,11 @@ dev_dependencies:
lints: ^1.0.1
flutter_icons:
android: true
image_path_android: "assets/icon-light-curved.png"
android: "launcher_icon"
adaptive_icon_foreground: "assets/launcher_icon/ente-foreground.png"
adaptive_icon_background: "#ffffff"
ios: true
image_path_ios: "assets/icon-light.png"
image_path: "assets/icon-light.png"
flutter_native_splash:
color: "#ffffff"