Skip to content

Commit

Permalink
update icon and fix #20 to add monochrome icon
Browse files Browse the repository at this point in the history
  • Loading branch information
JahidHasanCO committed Mar 19, 2023
1 parent c6df6bb commit f9ab7d2
Show file tree
Hide file tree
Showing 16 changed files with 72 additions and 206 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
.externalNativeBuild
.cxx
local.properties
/app/release/output-metadata.json
Binary file modified 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.
20 changes: 2 additions & 18 deletions app/src/main/res/drawable-v24/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,9 @@
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="85.84757"
android:endY="92.4963"
android:startX="42.9492"
android:startY="49.59793"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>

<path
android:fillColor="#FFFFFF"
android:fillColor="@color/launcher_foreground_android_color"
android:fillType="nonZero"
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth="1"
Expand Down
67 changes: 51 additions & 16 deletions app/src/main/res/drawable/ic_bmi.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,59 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:viewportWidth="48"
android:viewportHeight="48">
android:width="200dp"
android:height="200dp"
android:viewportWidth="1000"
android:viewportHeight="1000"
android:tint="@color/launcher_foreground_android_color"
>
<path
android:pathData="M17.5,3.5C24.972,2.331 31.639,3.998 37.5,8.5C35.582,10.78 33.582,10.613 31.5,8C24.373,5.478 17.706,6.312 11.5,10.5C10.5,10.167 9.833,9.5 9.5,8.5C11.928,6.295 14.595,4.628 17.5,3.5Z"
android:fillColor="#7b8383"/>
android:pathData="M0,0h1000v1000h-1000z"
android:fillColor="#00FFFFFF"/>
<path
android:pathData="M7.5,9.5C8.627,10.122 9.627,10.955 10.5,12C3.846,20.053 3.846,28.053 10.5,36C9.667,36.833 8.833,37.667 8,38.5C2.478,31.973 1.144,24.639 4,16.5C5.193,14.114 6.36,11.78 7.5,9.5Z"
android:fillColor="#7d8585"/>
android:pathData="M430.7,281.3C510.4,268.9 581.5,286.6 644,334.7C623.5,359 602.2,357.2 580,329.3C504,302.4 432.9,311.3 366.7,356C356,352.4 348.9,345.3 345.3,334.7C371.2,311.1 399.7,293.4 430.7,281.3Z"
android:strokeLineJoin="miter"
android:strokeWidth="10.7"
android:fillColor="#7B8383"
android:fillType="evenOdd"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="M38.5,9.5C46.246,18.991 46.413,28.658 39,38.5C38.167,37.667 37.333,36.833 36.5,36C43.154,28.053 43.154,20.053 36.5,12C37.381,11.292 38.047,10.458 38.5,9.5Z"
android:fillColor="#7d8585"/>
android:pathData="M324,345.3C336,352 346.7,360.9 356,372C285,457.9 285,543.2 356,628C347.1,636.9 338.2,645.8 329.3,654.7C270.4,585 256.2,506.8 286.7,420C299.4,394.5 311.8,369.7 324,345.3Z"
android:strokeLineJoin="miter"
android:strokeWidth="10.7"
android:fillColor="#7D8585"
android:fillType="evenOdd"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="M13.5,18.5C15.977,19.12 15.977,20.12 13.5,21.5C18.168,29.335 24.168,30.502 31.5,25C33.801,22.997 33.801,21.163 31.5,19.5C32.274,18.289 33.107,18.289 34,19.5C36.02,25.709 34.02,30.043 28,32.5C26.691,34.686 26.524,36.853 27.5,39C24.833,39.667 22.167,39.667 19.5,39C20.476,36.853 20.309,34.686 19,32.5C12.718,29.586 10.885,24.92 13.5,18.5Z"
android:fillColor="#798080"/>
android:pathData="M654.7,345.3C737.3,446.6 739.1,549.7 660,654.7C651.1,645.8 642.2,636.9 633.3,628C704.3,543.2 704.3,457.9 633.3,372C642.7,364.4 649.8,355.6 654.7,345.3Z"
android:strokeLineJoin="miter"
android:strokeWidth="10.7"
android:fillColor="#7D8585"
android:fillType="evenOdd"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="M21.5,21.5C26.159,21.015 27.492,22.848 25.5,27C20.728,27.81 19.395,25.977 21.5,21.5Z"
android:fillColor="#838a8a"/>
android:pathData="M388,441.3C414.4,447.9 414.4,458.6 388,473.3C437.8,556.9 501.8,569.4 580,510.7C604.5,489.3 604.5,469.7 580,452C588.3,439.1 597.1,439.1 606.7,452C628.2,518.2 606.9,564.5 542.7,590.7C528.7,614 526.9,637.1 537.3,660C508.9,667.1 480.4,667.1 452,660C462.4,637.1 460.6,614 446.7,590.7C379.7,559.6 360.1,509.8 388,441.3Z"
android:strokeLineJoin="miter"
android:strokeWidth="10.7"
android:fillColor="#798080"
android:fillType="evenOdd"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="M12.5,40.5C19.833,40.5 27.167,40.5 34.5,40.5C34.5,41.5 34.5,42.5 34.5,43.5C27.167,43.5 19.833,43.5 12.5,43.5C12.5,42.5 12.5,41.5 12.5,40.5Z"
android:fillColor="#737c7b"/>
android:pathData="M473.3,473.3C523,468.2 537.2,487.7 516,532C465.1,540.6 450.9,521.1 473.3,473.3Z"
android:strokeLineJoin="miter"
android:strokeWidth="10.7"
android:fillColor="#838A8A"
android:fillType="evenOdd"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
<path
android:pathData="M377.3,676C455.6,676 533.8,676 612,676C612,686.7 612,697.3 612,708C533.8,708 455.6,708 377.3,708C377.3,697.3 377.3,686.7 377.3,676Z"
android:strokeLineJoin="miter"
android:strokeWidth="10.7"
android:fillColor="#737C7B"
android:fillType="evenOdd"
android:strokeColor="#00000000"
android:strokeLineCap="butt"/>
</vector>
165 changes: 3 additions & 162 deletions app/src/main/res/drawable/ic_launcher_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,167 +4,8 @@
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">

<path
android:fillColor="#3DDC84"
android:fillColor="@color/launcher_background_color"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector>
</vector>
1 change: 0 additions & 1 deletion app/src/main/res/mipmap-anydpi-v26/ic_banner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_banner_background"/>
<foreground android:drawable="@mipmap/ic_banner_foreground"/>
<monochrome android:drawable="@drawable/ic_bmi" />
</adaptive-icon>
6 changes: 3 additions & 3 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?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="@mipmap/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_bmi" />
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_bmi"/>
<monochrome android:drawable="@drawable/ic_bmi"/>
</adaptive-icon>
6 changes: 3 additions & 3 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?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="@mipmap/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_bmi" />
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_bmi"/>
<monochrome android:drawable="@drawable/ic_bmi"/>
</adaptive-icon>
Binary file modified 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 app/src/main/res/mipmap-mdpi/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 app/src/main/res/mipmap-xhdpi/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 app/src/main/res/mipmap-xxhdpi/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 app/src/main/res/mipmap-xxxhdpi/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.
5 changes: 4 additions & 1 deletion app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<color name="primaryColor">#4D7CF2</color>
<color name="backgroundColor">#090909</color>
<color name="backgroundColorAdditional">#000000</color>
Expand All @@ -14,4 +14,7 @@
<color name="dash_start">#007ee3e3</color>
<color name="dash_center">#E6000000</color>
<color name="dash_end">#99000000</color>

<color name="launcher_background_color" tools:targetApi="s">@android:color/system_neutral1_800</color>
<color name="launcher_foreground_android_color" tools:targetApi="s">@android:color/system_accent1_100</color>
</resources>
5 changes: 4 additions & 1 deletion app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">

<color name="seed">#4285F4</color>
<color name="md_theme_light_primary">#005AC1</color>
Expand Down Expand Up @@ -77,4 +77,7 @@
<color name="dash_start">#00811C1C</color>
<color name="dash_center">#E6FFFFFF</color>
<color name="dash_end">#99FFFFFF</color>

<color name="launcher_background_color" tools:targetApi="s">@android:color/system_accent1_100</color>
<color name="launcher_foreground_android_color" tools:targetApi="s">@android:color/system_neutral1_800</color>
</resources>
2 changes: 1 addition & 1 deletion 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">?attr/colorPrimary</color>
<color name="ic_launcher_background">#32453A</color>
</resources>

0 comments on commit f9ab7d2

Please sign in to comment.