Skip to content

Commit

Permalink
Vectorise icons
Browse files Browse the repository at this point in the history
I'm not so sure about the end result, but I feel that this is long
overdue.

This commit also changes the Play Store icon to comply with the recent
boom of 'dinner-plate' squircle icons.
  • Loading branch information
F4uzan committed Mar 18, 2019
1 parent aae6b8a commit cdec97a
Show file tree
Hide file tree
Showing 21 changed files with 37 additions and 11 deletions.
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
android:resizeableActivity="true"
android:restoreAnyVersion="true"
android:supportsRtl="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher"
android:icon="@mipmap/ic_launcher_round"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/app_name"
android:theme="@style/AppTheme">

Expand Down
Binary file modified app/src/main/ic_launcher-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 12 additions & 8 deletions app/src/main/res/drawable/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="512"
android:viewportHeight="512">
<path
android:pathData="M-1,-1h514v514h-514z"
android:fillColor="#202020"/>
<path
android:pathData="M-1,0h256v512h-256z"
android:fillColor="#fff"/>
android:viewportWidth="487.61905"
android:viewportHeight="487.61905">
<group android:translateX="-12.190476"
android:translateY="-12.190476">
<path
android:pathData="M-1,-1h514v514h-514z"
android:fillColor="#202020"/>
<path
android:pathData="M-1,0h256v512h-256z"
android:strokeWidth="0"
android:fillColor="#fff"/>
</group>
</vector>
17 changes: 17 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,17 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1762.2378"
android:viewportHeight="1762.2378">
<group android:translateX="496.64337"
android:translateY="530.1189">
<path
android:pathData="M198.912,84.98a646220.375,646220.375 0,0 1,-178.167 44.95c-0.092,0.017 -0.171,0.405 -0.177,0.863 -0.01,0.805 28.067,112.617 28.387,113.045 0.14,0.188 52.829,-13.016 103.29,-25.884 16.191,-4.13 108.409,-27.458 146.223,-36.992 8.189,-2.064 15.314,-3.917 15.833,-4.116 0.813,-0.312 0.944,23.777 0.944,173.114 0,142.154 -0.157,173.416 -0.868,173.143 -0.477,-0.183 -10.602,-2.787 -22.5,-5.787 -11.897,-3 -40.982,-10.36 -64.632,-16.356 -124.61,-31.593 -178.147,-45.07 -178.287,-44.88 -0.31,0.422 -28.4,112.233 -28.39,113.002 0.014,1.032 -20.233,-4.171 179.78,46.203l177.436,44.688 4.731,-1.136 4.73,-1.135V42.204l-4.833,-1.131c-2.659,-0.621 -4.984,-1.104 -5.167,-1.071 -0.183,0.032 -80.433,20.273 -178.333,44.979"
android:fillColor="#fe4886"
android:fillType="evenOdd"/>
<path
android:pathData="M387,350.461c0,230.018 0.172,306.462 0.69,306.462 0.379,0 25.333,-6.868 55.455,-15.262 30.121,-8.395 99.942,-27.836 155.157,-43.206 55.216,-15.368 101.339,-28.387 102.495,-28.93 1.157,-0.542 5.303,-1.864 9.214,-2.936 3.91,-1.073 7.29,-2.15 7.51,-2.393 0.22,-0.244 -1.695,-9.62 -4.256,-20.835 -2.562,-11.215 -14.575,-64.067 -26.697,-117.448 -12.12,-53.38 -22.1,-97.15 -22.177,-97.266 -0.117,-0.174 -98.244,27.104 -101.406,28.19 -1.51,0.518 -2.256,-3.122 12.811,62.446 7.625,33.18 13.644,60.537 13.376,60.791 -0.269,0.256 -36.466,10.43 -80.44,22.609 -43.974,12.18 -80.29,22.283 -80.704,22.451 -0.6,0.244 -0.751,-34.965 -0.751,-174.646 0,-166.316 0.051,-174.934 1.051,-174.59 3.088,1.064 247.374,68.91 247.494,68.737 0.27,-0.388 24.995,-111.887 24.985,-112.671 -0.012,-1.03 0.17,-0.977 -47.2,-14.112a87643.672,87643.672 0,0 1,-93.177 -25.916C424.174,53.95 388.315,44 387.682,44c-0.508,0 -0.682,78.118 -0.682,306.461"
android:fillColor="#fff"
android:fillType="evenOdd"/>
</group>
</vector>
2 changes: 1 addition & 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,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="@mipmap/ic_launcher_foreground"/>
<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>
Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cdec97a

Please sign in to comment.