Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NO QA] Improve app launcher icon padding #24440

Merged
merged 12 commits into from
Aug 29, 2023
Merged
53 changes: 53 additions & 0 deletions android/app/src/adhoc/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="80"
android:viewportHeight="81">
<group android:scaleX="0.53113854"
android:scaleY="0.5377778"
android:translateX="18.754457"
android:translateY="18.921667">
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M54.1,28.2v-8.3H25.9v40.3h28.2v-8.3H36.3v-7.7h14.4v-8.5H36.3v-7.3H54.1z"
android:fillColor="#002E22"/>
</group>
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M40,6.5C40,6.5 40,6.5 40,6.5c7.1,0 13.7,2.2 19.2,6c1.4,1 3.3,0.9 4.5,-0.3l0,0c1.3,-1.3 1.3,-3.5 -0.3,-4.7C56.8,2.8 48.7,0 40,0C17.9,0 0,17.9 0,40c0,8.7 2.8,16.8 7.5,23.3c1.1,1.5 3.3,1.6 4.7,0.3l0,0c1.2,-1.2 1.3,-3.1 0.3,-4.5c-3.8,-5.4 -6,-12 -6,-19.2C6.5,21.5 21.5,6.5 40,6.5C40,6.5 40,6.5 40,6.5L40,6.5z"
android:fillColor="#002E22"/>
</group>
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M73,17.4c-1.1,-1.6 -3.4,-1.7 -4.7,-0.3l0,0c-1.2,1.2 -1.3,3 -0.4,4.4c3.5,5.3 5.6,11.7 5.6,18.5c0,6.8 -2.1,13.4 -5.8,18.8c-0.9,1.4 -0.9,3.3 0.3,4.5l0,0c1.4,1.4 3.6,1.3 4.7,-0.3c4.6,-6.5 7.3,-14.4 7.3,-23C80,31.5 77.4,23.8 73,17.4z"
android:fillColor="#002E22"/>
</group>
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M40,73.5c-6.8,0 -13.2,-2.1 -18.5,-5.6c-1.4,-0.9 -3.3,-0.8 -4.4,0.4l0,0c-1.4,1.4 -1.3,3.6 0.3,4.7c6.4,4.4 14.2,7 22.6,7c8.4,0 16.4,-2.7 23,-7.3c1.6,-1.1 1.7,-3.3 0.3,-4.7l0,0c-1.2,-1.2 -3.1,-1.3 -4.5,-0.3C53.5,71.3 47,73.5 40,73.5z"
android:fillColor="#002E22"/>
</group>
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M58,60h12c5.5,0 10,4.5 10,10l0,0c0,5.5 -4.5,10 -10,10H58c-5.5,0 -10,-4.5 -10,-10l0,0C48,64.5 52.5,60 58,60z"
android:fillColor="#CF4CD9"/>
</group>
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M56.3,72.5l-1.7,-4.6h-0.9L52,72.5h0.9l0.4,-1h1.7l0.4,1H56.3zM54.1,69l0.6,1.6h-1.1L54.1,69zM58.3,72.5c1.4,0 2.4,-0.9 2.4,-2.3c0,-1.4 -0.9,-2.3 -2.4,-2.3h-1.5v4.6H58.3zM57.6,68.8h0.7c0.9,0 1.5,0.5 1.5,1.4c0,0.9 -0.6,1.4 -1.5,1.4h-0.7V68.8zM62.3,72.5v-1.9h1.9v1.9h0.9v-4.6h-0.9v1.8h-1.9v-1.8h-0.9v4.6H62.3zM68.2,72.6c1.3,0 2.2,-1 2.2,-2.4c0,-1.4 -0.9,-2.3 -2.2,-2.3c-1.3,0 -2.2,1 -2.2,2.3C66,71.6 66.8,72.6 68.2,72.6zM68.2,71.8c-0.8,0 -1.3,-0.6 -1.3,-1.5c0,-0.9 0.5,-1.5 1.3,-1.5s1.3,0.6 1.3,1.5C69.5,71.2 69,71.8 68.2,71.8zM73.1,72.6c1.1,0 1.9,-0.7 2.1,-1.7h-0.9c-0.2,0.6 -0.6,0.9 -1.1,0.9c-0.8,0 -1.3,-0.6 -1.3,-1.5c0,-0.9 0.5,-1.5 1.3,-1.5c0.6,0 1,0.3 1.1,0.9h0.9c-0.2,-1 -1,-1.7 -2.1,-1.7c-1.3,0 -2.2,1 -2.2,2.3C70.9,71.6 71.8,72.6 73.1,72.6z"
android:fillColor="#FFFFFF"/>
</group>
</group>
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
</adaptive-icon>
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
</adaptive-icon>
Binary file modified android/app/src/adhoc/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/adhoc/res/mipmap-hdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified android/app/src/adhoc/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/adhoc/res/mipmap-mdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/adhoc/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/adhoc/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/adhoc/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions android/app/src/adhoc/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#3DDC84</color>
</resources>
<color name="ic_launcher_background">#03D47C</color>
</resources>
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="80"
android:viewportHeight="81">
<group android:scaleX="0.53113854"
android:scaleY="0.5377778"
android:translateX="18.754457"
android:translateY="18.921667">
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M54.1,28.2v-8.3H25.9v40.3h28.2v-8.3H36.3v-7.7h14.4v-8.5H36.3v-7.3H54.1z"
android:fillColor="#002E22"/>
</group>
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M40,6.5C40,6.5 40,6.5 40,6.5c7.1,0 13.7,2.2 19.2,6c1.4,1 3.3,0.9 4.5,-0.3l0,0c1.3,-1.3 1.3,-3.5 -0.3,-4.7C56.8,2.8 48.7,0 40,0C17.9,0 0,17.9 0,40c0,8.7 2.8,16.8 7.5,23.3c1.1,1.5 3.3,1.6 4.7,0.3l0,0c1.2,-1.2 1.3,-3.1 0.3,-4.5c-3.8,-5.4 -6,-12 -6,-19.2C6.5,21.5 21.5,6.5 40,6.5C40,6.5 40,6.5 40,6.5L40,6.5z"
android:fillColor="#002E22"/>
</group>
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M73,17.4c-1.1,-1.6 -3.4,-1.7 -4.7,-0.3l0,0c-1.2,1.2 -1.3,3 -0.4,4.4c3.5,5.3 5.6,11.7 5.6,18.5c0,6.8 -2.1,13.4 -5.8,18.8c-0.9,1.4 -0.9,3.3 0.3,4.5l0,0c1.4,1.4 3.6,1.3 4.7,-0.3c4.6,-6.5 7.3,-14.4 7.3,-23C80,31.5 77.4,23.8 73,17.4z"
android:fillColor="#002E22"/>
</group>
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M40,73.5c-6.8,0 -13.2,-2.1 -18.5,-5.6c-1.4,-0.9 -3.3,-0.8 -4.4,0.4l0,0c-1.4,1.4 -1.3,3.6 0.3,4.7c6.4,4.4 14.2,7 22.6,7c8.4,0 16.4,-2.7 23,-7.3c1.6,-1.1 1.7,-3.3 0.3,-4.7l0,0c-1.2,-1.2 -3.1,-1.3 -4.5,-0.3C53.5,71.3 47,73.5 40,73.5z"
android:fillColor="#002E22"/>
</group>
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M58,60h12c5.5,0 10,4.5 10,10l0,0c0,5.5 -4.5,10 -10,10H58c-5.5,0 -10,-4.5 -10,-10l0,0C48,64.5 52.5,60 58,60z"
android:fillColor="#F25730"/>
</group>
<group>
<clip-path
android:pathData="M0,0h80v80h-80z"/>
<path
android:pathData="M57.9,73c2,0 3.3,-1.2 3.3,-3.2c0,-2 -1.3,-3.1 -3.3,-3.1h-2.1V73H57.9zM56.9,67.9h0.9c1.3,0 2,0.7 2,2c0,1.3 -0.8,2 -2,2h-0.9V67.9zM66.8,73v-1.2h-3.4v-1.5h2.9v-1.2h-2.9v-1.3h3.3v-1.2h-4.6V73H66.8zM70.6,73l2.2,-6.3h-1.3L70,71.4l-1.5,-4.7h-1.3l2.2,6.3H70.6z"
android:fillColor="#FFFFFF"/>
</group>
</group>
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
</adaptive-icon>
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
</adaptive-icon>
Binary file modified android/app/src/development/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified android/app/src/development/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/development/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/development/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/development/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#3DDC84</color>
</resources>
<color name="ic_launcher_background">#03D47C</color>
</resources>
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_launcher" />
android:resource="@mipmap/ic_launcher" />

<meta-data
android:name="com.google.firebase.messaging.default_notification_color"
Expand Down
Binary file added android/app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
</adaptive-icon>
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
</adaptive-icon>
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
4 changes: 2 additions & 2 deletions android/app/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#3DDC84</color>
</resources>
<color name="ic_launcher_background">#03D47C</color>
</resources>
Julesssss marked this conversation as resolved.
Show resolved Hide resolved
Loading