Skip to content

Commit

Permalink
fix #20 monochrome icon
Browse files Browse the repository at this point in the history
  • Loading branch information
JahidHasanCO committed Mar 18, 2023
1 parent c4749c2 commit c6df6bb
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Expand Down
24 changes: 24 additions & 0 deletions app/src/main/res/drawable/ic_bmi.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:viewportWidth="48"
android:viewportHeight="48">
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
<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"/>
</vector>
2 changes: 1 addition & 1 deletion app/src/main/res/layout-land/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
app:wheelCyclic="true"
app:wheelDividerColor="@color/backgroundColorAdditional2"
app:wheelEntries="@array/default_array"
app:wheelHighlightColor="@color/backgroundColor"
app:wheelHighlightColor="#00FFFFFF"
app:wheelItemCount="4"
app:wheelItemHeight="38dp"
app:wheelItemWidth="100dp"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_banner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<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>
1 change: 1 addition & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<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" />
</adaptive-icon>
1 change: 1 addition & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<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" />
</adaptive-icon>

0 comments on commit c6df6bb

Please sign in to comment.