Skip to content

Commit

Permalink
info: update icon
Browse files Browse the repository at this point in the history
Use a new stacked design that is a lot more in line with M3 icon
design.
  • Loading branch information
OxygenCobalt committed Jan 7, 2025
1 parent 3b97c61 commit 447f2da
Show file tree
Hide file tree
Showing 9 changed files with 127 additions and 66 deletions.
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.
49 changes: 25 additions & 24 deletions app/src/main/res/drawable/ic_launcher_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,30 @@
android:strokeColor="#00000000" />
</group>

<group
android:name="top_left_block"
android:rotation="15"
android:translateY="-32"
android:translateX="16"
android:pivotX="54"
android:pivotY="54">
<path
android:fillColor="#94AAE4"
android:pathData="m -19,5e-7 h 38 c 4.432,0 8,3.568 8,8 V 100 c 0,4.432 -3.568,8 -8,8 h -38 c -4.432,0 -8,-3.568 -8,-8 V 8.0000005 c 0,-4.432 3.568,-8 8,-8 z"
android:strokeColor="#00000000" />
</group>
<!-- <group-->
<!-- android:name="top_left_block"-->
<!-- android:rotation="15"-->
<!-- android:translateY="-32"-->
<!-- android:translateX="16"-->
<!-- android:pivotX="54"-->
<!-- android:pivotY="54">-->
<!-- <path-->
<!-- android:fillColor="#94AAE4"-->
<!-- android:pathData="m -19,5e-7 h 38 c 4.432,0 8,3.568 8,8 V 100 c 0,4.432 -3.568,8 -8,8 h -38 c -4.432,0 -8,-3.568 -8,-8 V 8.0000005 c 0,-4.432 3.568,-8 8,-8 z"-->
<!-- android:strokeColor="#00000000" />-->
<!-- </group>-->

<!-- <group-->
<!-- android:name="bottom_right_block"-->
<!-- android:rotation="15"-->
<!-- android:translateY="32"-->
<!-- android:translateX="-16"-->
<!-- android:pivotX="54"-->
<!-- android:pivotY="54">-->
<!-- <path-->
<!-- android:fillColor="#B1C6FF"-->
<!-- android:pathData="m 89,0 h 38 c 4.432,0 8,3.568 8,8 V 99.999999 C 135,104.432 131.432,108 127,108 H 89 c -4.432,0 -8,-3.568 -8,-8.000001 V 8 c 0,-4.432 3.568,-8 8,-8 z"-->
<!-- android:strokeColor="#00000000" />-->
<!-- </group>-->

<group
android:name="bottom_right_block"
android:rotation="15"
android:translateY="32"
android:translateX="-16"
android:pivotX="54"
android:pivotY="54">
<path
android:fillColor="#B1C6FF"
android:pathData="m 89,0 h 38 c 4.432,0 8,3.568 8,8 V 99.999999 C 135,104.432 131.432,108 127,108 H 89 c -4.432,0 -8,-3.568 -8,-8.000001 V 8 c 0,-4.432 3.568,-8 8,-8 z"
android:strokeColor="#00000000" />
</group>
</vector>
27 changes: 24 additions & 3 deletions app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,40 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:tint="#475d92"
android:viewportWidth="108"
android:viewportHeight="108">

<group
android:scaleX="2.835"
android:scaleY="2.835"
android:translateX="19.98"
android:translateY="19.98">
<path
android:fillColor="@android:color/transparent"
android:pathData="M13 4l4 4m-4-4v13m0 0l-3 3-3-3 3-3"
android:pathData="m 13,17 -3,3 -3,-3 3,-3"
android:strokeWidth="2"
android:strokeColor="@android:color/white"
android:strokeColor="#004894"
android:strokeLineCap="round"
android:strokeLineJoin="round" />
<path
android:fillColor="@android:color/transparent"
android:pathData="M 13,10.5 V 17"
android:strokeWidth="2"
android:strokeColor="#1a61ae"
android:strokeLineCap="round"
android:strokeLineJoin="round" />
<path
android:fillColor="@android:color/transparent"
android:pathData="m 13,4v 6.5"
android:strokeWidth="2"
android:strokeColor="#357ac9"
android:strokeLineCap="round"
android:strokeLineJoin="round" />
<path
android:fillColor="@android:color/transparent"
android:pathData="m 13,4 4,4"
android:strokeWidth="2"
android:strokeColor="#5093e4"
android:strokeLineCap="round"
android:strokeLineJoin="round" />
</group>
Expand Down
117 changes: 78 additions & 39 deletions app/src/main/res/drawable/ic_splash_anim.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,66 @@
android:strokeColor="#00000000" />
</group>


<group
android:name="top_left_block"
android:pivotX="54"
android:pivotY="54"
android:rotation="40"
android:translateX="16"
android:translateY="-32">
android:name="base"
android:scaleX="2.835"
android:scaleY="2.835"
android:translateX="19.98"
android:translateY="-64">
<path
android:fillColor="#94AAE4"
android:pathData="m -19,5e-7 h 38 c 4.432,0 8,3.568 8,8 V 100 c 0,4.432 -3.568,8 -8,8 h -38 c -4.432,0 -8,-3.568 -8,-8 V 8.0000005 c 0,-4.432 3.568,-8 8,-8 z"
android:strokeColor="#00000000" />
android:fillColor="@android:color/transparent"
android:pathData="m 13,17 -3,3 -3,-3 3,-3"
android:strokeWidth="2"
android:strokeColor="#004894"
android:strokeLineCap="round"
android:strokeLineJoin="round" />
</group>

<group
android:name="bottom_right_block"
android:pivotX="54"
android:pivotY="54"
android:rotation="40"
android:translateX="-16"
android:translateY="32">
android:name="lower_stem"
android:scaleX="2.835"
android:scaleY="2.835"
android:translateX="19.98"
android:translateY="-64">

<path
android:fillColor="#B1C6FF"
android:pathData="m 89,0 h 38 c 4.432,0 8,3.568 8,8 V 99.999999 C 135,104.432 131.432,108 127,108 H 89 c -4.432,0 -8,-3.568 -8,-8.000001 V 8 c 0,-4.432 3.568,-8 8,-8 z"
android:strokeColor="#00000000" />
android:fillColor="@android:color/transparent"
android:pathData="M 13,10.5 V 17"
android:strokeWidth="2"
android:strokeColor="#1a61ae"
android:strokeLineCap="round"
android:strokeLineJoin="round" />
</group>

<group
android:name="upper_stem"
android:scaleX="2.835"
android:scaleY="2.835"
android:translateX="19.98"
android:translateY="-64">

<path
android:fillColor="@android:color/transparent"
android:pathData="m 13,4v 6.5"
android:strokeWidth="2"
android:strokeColor="#357ac9"
android:strokeLineCap="round"
android:strokeLineJoin="round" />
</group>

<group
android:name="tail"
android:scaleX="2.835"
android:scaleY="2.835"
android:translateX="19.98"
android:translateY="19.98">
android:translateY="-64">

<path
android:name="note"
android:fillColor="@android:color/transparent"
android:pathData="M13 4l4 4m-4-4v13m0 0l-3 3-3-3 3-3"
android:strokeWidth="0"
android:strokeColor="#475d92"
android:pathData="m 13,4 4,4"
android:strokeWidth="2"
android:strokeColor="#5093e4"
android:strokeLineCap="round"
android:strokeLineJoin="round" />
</group>
Expand All @@ -64,46 +87,62 @@
<set />
</aapt:attr>
</target>
<target android:name="top_left_block">
<target android:name="tail">
<aapt:attr name="android:animation">
<set>
<objectAnimator
android:duration="500"
android:interpolator="@interpolator/m3_sys_motion_easing_emphasized_decelerate"
android:propertyName="translateY"
android:startOffset="0"
android:valueFrom="-512"
android:valueTo="19.98"
android:valueType="floatType"
tools:ignore="PrivateResource" />
</set>
</aapt:attr>
</target>
<target android:name="upper_stem">
<aapt:attr name="android:animation">
<set>
<objectAnimator
android:duration="1000"
android:duration="500"
android:interpolator="@interpolator/m3_sys_motion_easing_emphasized_decelerate"
android:propertyName="rotation"
android:propertyName="translateY"
android:startOffset="0"
android:valueFrom="90"
android:valueTo="15"
android:valueType="floatType" />
android:valueFrom="-256"
android:valueTo="19.98"
android:valueType="floatType"
tools:ignore="PrivateResource" />
</set>
</aapt:attr>
</target>

<target android:name="bottom_right_block">
<target android:name="lower_stem">
<aapt:attr name="android:animation">
<set>
<objectAnimator
android:duration="1000"
android:duration="500"
android:interpolator="@interpolator/m3_sys_motion_easing_emphasized_decelerate"
android:propertyName="rotation"
android:propertyName="translateY"
android:startOffset="0"
android:valueFrom="90"
android:valueTo="15"
android:valueFrom="-128"
android:valueTo="19.98"
android:valueType="floatType"
tools:ignore="PrivateResource" />
</set>
</aapt:attr>
</target>
<target android:name="note">
<target android:name="base">
<aapt:attr name="android:animation">
<set>
<objectAnimator
android:duration="1000"
android:duration="500"
android:interpolator="@interpolator/m3_sys_motion_easing_emphasized_decelerate"
android:propertyName="strokeWidth"
android:propertyName="translateY"
android:startOffset="0"
android:valueFrom="0"
android:valueTo="2"
android:valueFrom="-64"
android:valueTo="19.98"
android:valueType="floatType"
tools:ignore="PrivateResource" />
</set>
Expand Down
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_launcher.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
Binary file not shown.

0 comments on commit 447f2da

Please sign in to comment.