Skip to content

Commit

Permalink
Fix alternate launcher app icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmud0808 committed Jan 20, 2024
1 parent d0850bd commit b62a123
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/drawable/ic_launcher_foreground_themed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
android:translateX="27.54"
android:translateY="27.54">
<path
android:fillColor="?attr/colorPrimary"
android:fillColor="@color/launcher_accent_variant"
android:pathData="M11.994,16.5V23C12.299,23.004 12.601,22.889 12.832,22.658C13.019,22.47 13.103,22.281 13.223,21.775C13.343,21.273 13.438,21.075 13.648,20.89C14.06,20.526 14.645,20.485 15.086,20.79C15.158,20.84 15.351,21.036 15.517,21.227C15.975,21.757 16.191,21.888 16.676,21.867C16.883,21.858 16.97,21.821 17.104,21.758C17.458,21.593 17.699,21.224 17.758,20.879C17.782,20.735 17.781,20.553 17.678,20.138C17.542,19.59 17.53,19.469 17.592,19.235C17.686,18.882 17.915,18.6 18.231,18.448C18.241,18.443 18.221,18.453 18.231,18.448C18.36,18.385 18.478,18.328 18.655,18.32C18.888,18.31 18.947,18.331 19.258,18.448C19.304,18.465 19.356,18.484 19.414,18.506C19.924,18.693 20.108,18.727 20.361,18.68C20.738,18.61 21.034,18.388 21.204,18.049C21.301,17.853 21.328,17.715 21.328,17.523C21.328,17.309 21.299,17.191 21.22,17.029C21.168,16.924 21.004,16.707 20.819,16.499C20.644,16.304 20.447,16.031 20.402,15.939C20.395,15.924 20.409,15.952 20.402,15.939C20.342,15.819 20.309,15.752 20.309,15.495C20.309,15.236 20.371,15.112 20.439,14.977C20.449,14.958 20.427,15.001 20.439,14.977C20.63,14.588 20.959,14.368 21.431,14.313C22.037,14.243 22.157,14.22 22.335,14.136C22.761,13.936 23.013,13.493 23,13.035H16.38C15.913,15.022 14.123,16.5 11.994,16.5C11.996,16.5 11.992,16.5 11.994,16.5Z"
tools:ignore="VectorPath" />
<path
Expand All @@ -23,7 +23,7 @@
android:fillColor="@color/launcher_fg"
android:pathData="M10.732,14.719L7.901,17.55V18.768C7.901,18.9 7.849,19.028 7.755,19.121L5.23,21.646C5.035,21.841 4.718,21.841 4.523,21.646L2.405,19.528C2.21,19.333 2.21,19.017 2.405,18.821L4.93,16.296C5.024,16.202 5.151,16.15 5.284,16.15H6.501L9.315,13.336C9.617,13.942 10.118,14.432 10.732,14.719Z" />
<path
android:fillColor="?attr/colorTertiary"
android:fillColor="@color/launcher_accent"
android:fillType="evenOdd"
android:pathData="M12,2C10.687,2 9.386,2.259 8.173,2.761C7.191,3.168 6.282,3.728 5.479,4.419L4.569,3.508C4.276,3.215 3.801,3.215 3.508,3.508C3.215,3.801 3.215,4.276 3.508,4.569L4.418,5.479C3.728,6.282 3.168,7.191 2.761,8.173C2.387,9.077 2.148,10.03 2.05,11H9.171C9.583,9.835 10.694,9 12,9V2Z" />
<path
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
<!-- Launcher icon -->
<color name="launcher_fg">@android:color/system_neutral2_100</color>
<color name="launcher_bg">@android:color/background_dark</color>
<color name="launcher_accent">@android:color/system_accent1_200</color>
<color name="launcher_accent_variant">@android:color/system_accent3_200</color>

</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@
<!-- Launcher icon -->
<color name="launcher_fg">@android:color/system_neutral2_700</color>
<color name="launcher_bg">@android:color/background_light</color>
<color name="launcher_accent">@android:color/system_accent1_600</color>
<color name="launcher_accent_variant">@android:color/system_accent3_600</color>

</resources>

0 comments on commit b62a123

Please sign in to comment.