Skip to content

Commit

Permalink
updated icon
Browse files Browse the repository at this point in the history
  • Loading branch information
robinsrk committed Dec 8, 2024
1 parent d5c3b06 commit 83dbea9
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 9 deletions.
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@drawable/ic_launcher"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@drawable/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Flip_2_DND"
tools:targetApi="31">
Expand Down
18 changes: 16 additions & 2 deletions app/src/main/res/drawable/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,21 @@
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">

<!-- Background circle -->
<path
android:fillColor="#FF000000"
android:pathData="M54,0C24.19,0 0,24.19 0,54s24.19,54 54,54 54,-24.19 54,-54S83.81,0 54,0zM54,98c-24.26,0 -44,-19.74 -44,-44s19.74,-44 44,-44 44,19.74 44,44 -19.74,44 -44,44zM74.59,33.41L54,54 33.41,33.41 33.41,74.59 74.59,74.59z"/>
android:fillColor="#FF6200EE"
android:pathData="M54,0 A54,54 0 1,1 54,108 A54,54 0 1,1 54,0"/>

<!-- Bell shape -->
<path
android:fillColor="#FFFFFF"
android:pathData="M54,30 C48,30 43,35 43,41 L43,59 L40,62 L40,65 L68,65 L68,62 L65,59 L65,41 C65,35 60,30 54,30 Z M50,67 C50,69.2 51.8,71 54,71 C56.2,71 58,69.2 58,67 L50,67"/>

<!-- Slash through bell -->
<path
android:strokeColor="#FFFFFF"
android:strokeWidth="4"
android:strokeLineCap="round"
android:pathData="M38,38 L70,70"/>
</vector>
10 changes: 10 additions & 0 deletions app/src/main/res/drawable/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#FF6200EE"
android:pathData="M0,0h108v108h-108z"/>
</vector>
19 changes: 14 additions & 5 deletions app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,24 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="128"
android:viewportHeight="128">
android:viewportWidth="108"
android:viewportHeight="108">

<group
android:scaleX="0.6"
android:scaleY="0.6"
android:translateX="25.6"
android:translateY="25.6">
android:translateX="21.6"
android:translateY="21.6">
<!-- Bell shape -->
<path
android:fillColor="#FFFFFF"
android:pathData="M109.958 60.1h-5.81a14.287 14.287 0 0 0-14.156-12.527H57.633A14.287 14.287 0 0 0 43.477 60.1h-2.941a9.684 9.684 0 1 0-14.888 0h-7.606a1.749 1.749 0 0 0-1.75 1.75v25.972a1.749 1.749 0 0 0 1.75 1.75h7.116a1.749 1.749 0 0 0 1.75-1.75v-7.336h73.859v7.336a1.749 1.749 0 0 0 1.75 1.75h7.441a1.749 1.749 0 0 0 1.75-1.75V61.848a1.749 1.749 0 0 0-1.75-1.748zm-83.05 3.5h73.859v6.21H26.908zm30.725-12.527h32.359a10.793 10.793 0 0 1 10.633 9.027H47a10.793 10.793 0 0 1 10.633-9.027zm-30.725 2.84a6.184 6.184 0 1 1 6.184 6.187 6.192 6.192 0 0 1-6.184-6.187zm-3.5 32.159h-3.616V63.6h3.616v22.472zm3.5-9.086v-3.678h73.859v3.678zm81.3 9.086h-3.941V63.6h3.941zM57.63 36.55h-4.893l4.834-5.071.02-2.328h-9.036v2.802h4.675l-4.813 5.07v2.329h9.213V36.55zM72.623 36.333h-6.846l6.747-8.011v-2.525H61.278v3.019h6.63l-6.767 8.01v2.526h11.482v-3.019z"/>
android:pathData="M54,30 C48,30 43,35 43,41 L43,59 L40,62 L40,65 L68,65 L68,62 L65,59 L65,41 C65,35 60,30 54,30 Z M50,67 C50,69.2 51.8,71 54,71 C56.2,71 58,69.2 58,67 L50,67"/>

<!-- Slash through bell -->
<path
android:strokeColor="#FFFFFF"
android:strokeWidth="4"
android:strokeLineCap="round"
android:pathData="M38,38 L70,70"/>
</group>
</vector>
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?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="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?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="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

0 comments on commit 83dbea9

Please sign in to comment.