Skip to content

Commit

Permalink
Merge pull request #297 from Idadelveloper/themed-icons
Browse files Browse the repository at this point in the history
update: ensure themed icons
  • Loading branch information
sherlockwisdom authored Jan 15, 2025
2 parents 1cbefab + 0f482b8 commit 7d1ec5e
Show file tree
Hide file tree
Showing 20 changed files with 76 additions and 77 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.main">
android:theme="@style/Theme.Material3.DayNight">
<activity
android:name=".MainActivity"
android:windowSoftInputMode="adjustResize"
Expand Down
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.
33 changes: 33 additions & 0 deletions app/src/main/res/drawable/deku_icon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="1024dp"
android:height="1024dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<path
android:pathData="M360,233c59.7,-0.6 124.3,-2.7 183.5,-0 20.3,0.9 40.3,6.7 59.5,8 1.3,1.5 3.3,1.5 5,2s3.9,0.6 5,1c7.5,2.4 17.7,6 25,9 6.1,2.5 16.3,7.1 22,10 4.8,2.5 9.6,7.5 16,10 3.3,4 9.1,6.1 13,9 6.5,4.8 12.6,10.9 19,16 3.7,2.9 7,6.4 11,9 3,4.5 8.6,12.3 13,15 2.9,6.3 9.1,10.6 13,16l0,3c0.6,0.2 1.5,-0.2 2,0 4.2,6.7 8.9,14.1 13,21s8.8,17.2 12,25c1.6,3.9 3.6,8.2 5,12s2.8,9.1 4,13c1.7,5.7 3.7,12.3 5,18 1.6,7 3.1,15.9 4,23 1.1,8.4 1.7,18.5 2,27 0.7,18.7 0.4,38 -1,56 -0.9,12.2 -2,20.7 -4.5,32 -13.4,60.5 -47.2,114.7 -97.5,151l-2,-4.4 -144.9,-105.1 -2.1,-4.4c42.5,0.4 85.4,0.3 127.8,-0.7 27.9,-11 19.5,-49.5 -10.3,-49.3 -43.8,2.8 -91.8,-3.6 -135,0.1 -11.1,0.9 -24.4,7.9 -26.5,20 -1.7,-0.2 -3,-1.3 -4.3,-2.2 -66.9,-46.2 -131.1,-99.5 -198.4,-144.6 -2.8,-1.9 -5.7,-4.7 -9.3,-4.2 0.1,-38.3 -0.5,-76.7 0,-115 0.3,-24.6 -3.9,-48.7 17.5,-66 16.6,-13.3 38.4,-9.8 58.5,-10ZM403.8,417.3c-33.8,5.5 -34.8,51.7 -1.2,58.6h173.8c33.9,-6.8 32.3,-54.3 -2,-58.8l-170.6,0.2Z"
android:fillColor="#c296fc"/>
<path
android:pathData="M496,575c-1.5,8.4 2,20.3 9.1,25.4 9.5,6.9 23.5,4.4 34.9,4.6l2.1,4.4 144.9,105.1 2,4.4c-14.8,10.7 -30.3,19.5 -47,27l-2.6,-3.9 -348.5,-253.5 -6.9,-2.6c0,-20.6 -0,-41.3 0,-62 3.7,-0.5 6.5,2.3 9.3,4.2 67.3,45.2 131.4,98.5 198.4,144.6 1.4,0.9 2.6,2 4.3,2.2Z"
android:fillColor="#bf92fc"/>
<path
android:pathData="M642,746c-8.5,3.8 -16.1,7 -25,10l-333,-242c0,-9.3 -0,-18.7 0,-28l6.9,2.6 348.5,253.5 2.6,3.9Z"
android:fillColor="#bd8ffc"/>
<path
android:pathData="M511,769c-16,0.2 -52,-2.7 -65,2l-1.2,-4.3 -155.6,-113.3 -5.2,-1.3c-0.1,-16.3 0,-32.7 0,-49 3.2,0 5.8,2.5 8.3,4.2 73.3,50.8 143.3,106.6 216.4,157.6l2.3,4.3Z"
android:fillColor="#b888fc"/>
<path
android:pathData="M557,768c-15.3,1.1 -30.6,0.8 -46,1l-2.3,-4.3c-73.2,-51 -143.2,-106.8 -216.4,-157.6 -2.5,-1.7 -5.2,-4.2 -8.3,-4.2 -0,-11.6 0,-23.4 0,-35l7.3,3.2c83.1,64.7 174.6,122 257,187 3.3,2.6 8.8,5.2 8.7,9.8Z"
android:fillColor="#ba8afc"/>
<path
android:pathData="M592,763c-12.1,2.6 -22.7,4.1 -35,5 0.1,-4.7 -5.4,-7.3 -8.7,-9.8 -82.4,-65 -173.9,-122.3 -257,-187l-7.3,-3.2c-0,-10 0,-20 0,-30l5.1,1.5 299.9,218.1 3.1,5.4Z"
android:fillColor="#bb8cfc"/>
<path
android:pathData="M284,652l5.2,1.3 155.6,113.3 1.2,4.3c-15.2,5.4 -35.6,16.8 -51,24 -0.1,-2.2 -1.6,-3.2 -3.1,-4.4 -31.9,-26.5 -70.7,-48.6 -103,-75l-4.9,-1.6c-0.1,-20.6 0.1,-41.3 0,-62Z"
android:fillColor="#b684fc"/>
<path
android:pathData="M617,756c-8.3,2.8 -16.4,5.1 -25,7l-3.1,-5.4 -299.9,-218.1 -5.1,-1.5c0,-8 0,-16 0,-24l333,242Z"
android:fillColor="#bc8efc"/>
<path
android:pathData="M395,795c-4.7,2.2 -9.3,4.8 -14,7 -3.4,1.6 -6.7,3.4 -10,5 -2,1 -4,2.1 -6,3 -4.4,2.1 -3.9,2 -7,4 -0.5,0.3 -3.7,0.4 -5,1s-2.3,1.6 -3,2c-1.4,0.6 -2.7,1.4 -4,2 -2.2,1.1 -4.7,1.9 -7,3 -2.8,1.4 -5,3 -7,4s-4.6,1.9 -7,3c-1.4,0.6 -2.7,1.4 -4,2 -1.4,0.6 -2.7,1.4 -4,2s-3.1,1.1 -5,2c-0.8,0.4 -2,0.5 -3,1 -2.5,1.1 -5,3.1 -7,4 -1.1,0.5 -2.9,0.5 -4,1 -2,0.9 -4,2 -6,3 -2.3,1.1 -4.5,2.8 -7,3v-122.5c0,-2.4 -1,-6.9 -1,-10.5l4.9,1.6c32.3,26.5 71.1,48.5 103,75 1.5,1.3 3,2.2 3.1,4.4Z"
android:fillColor="#b37ffc"/>
</vector>
4 changes: 4 additions & 0 deletions app/src/main/res/drawable/deku_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@android:color/white" />
</shape>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/deku_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:viewportHeight="1024" android:viewportWidth="1024" android:width="24dp">

<path android:fillColor="#C497FE" android:fillType="evenOdd" android:pathData="M757,476.3C757,611.8 647.3,721.6 512,721.6H407L267,793L267,275.2C267,250.8 286.7,231 311.1,231H512C647.3,231 757,340.8 757,476.3ZM379.7,384.3C363.5,384.3 350.3,397.5 350.3,413.8C350.3,430.1 363.5,443.3 379.7,443.3H545.3C561.6,443.3 574.7,430.1 574.7,413.8C574.7,397.5 561.6,384.3 545.3,384.3H379.7ZM465.2,498.3C449,498.3 435.8,511.5 435.8,527.8C435.8,544.1 449,557.3 465.2,557.3H611.2C627.5,557.3 640.6,544.1 640.6,527.8C640.6,511.5 627.5,498.3 611.2,498.3H465.2Z"/>

</vector>
78 changes: 4 additions & 74 deletions app/src/main/res/drawable/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,74 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<vector
android:height="108dp"
android:width="108dp"
android:viewportHeight="108"
android:viewportWidth="108"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z"/>
<path android:fillColor="#00000000" android:pathData="M9,0L9,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,0L19,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,0L29,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,0L39,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,0L49,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,0L59,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,0L69,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,0L79,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M89,0L89,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M99,0L99,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,9L108,9"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,19L108,19"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,29L108,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,39L108,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,49L108,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,59L108,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,69L108,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,79L108,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,89L108,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,99L108,99"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,29L89,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,39L89,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,49L89,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,59L89,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,69L89,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,79L89,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,19L29,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,19L39,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,19L49,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,19L59,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,19L69,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,19L79,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
</vector>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@android:color/white" />
</shape>
14 changes: 14 additions & 0 deletions app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<group android:scaleX="0.67"
android:scaleY="0.67"
android:translateX="168.96"
android:translateY="168.96">>

<path android:fillColor="#C497FE" android:fillType="evenOdd" android:pathData="M757,476.3C757,611.8 647.3,721.6 512,721.6H407L267,793L267,275.2C267,250.8 286.7,231 311.1,231H512C647.3,231 757,340.8 757,476.3ZM379.7,384.3C363.5,384.3 350.3,397.5 350.3,413.8C350.3,430.1 363.5,443.3 379.7,443.3H545.3C561.6,443.3 574.7,430.1 574.7,413.8C574.7,397.5 561.6,384.3 545.3,384.3H379.7ZM465.2,498.3C449,498.3 435.8,511.5 435.8,527.8C435.8,544.1 449,557.3 465.2,557.3H611.2C627.5,557.3 640.6,544.1 640.6,527.8C640.6,511.5 627.5,498.3 611.2,498.3H465.2Z"/>

</group>
</vector>
6 changes: 5 additions & 1 deletion app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<foreground
android:drawable="@drawable/ic_launcher_foreground"
android:translateX="@dimen/icon_offset_x"
android:translateY="@dimen/icon_offset_y"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
6 changes: 5 additions & 1 deletion app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<foreground
android:drawable="@drawable/ic_launcher_foreground"
android:translateX="@dimen/icon_offset_x"
android:translateY="@dimen/icon_offset_y"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher_round.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-mdpi/ic_launcher_round.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-xhdpi/ic_launcher_round.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-xxhdpi/ic_launcher_round.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
Binary file not shown.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
Binary file not shown.
5 changes: 5 additions & 0 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="icon_offset_x">4dp</dimen>
<dimen name="icon_offset_y">0dp</dimen>
</resources>

0 comments on commit 7d1ec5e

Please sign in to comment.