Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
add adaptive icon
Browse files Browse the repository at this point in the history
  • Loading branch information
RedAuburn authored and luifr10 committed Dec 30, 2024
1 parent ee6d257 commit 271071c
Show file tree
Hide file tree
Showing 20 changed files with 55 additions and 0 deletions.
Binary file added android/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.
24 changes: 24 additions & 0 deletions android/app/src/main/res/drawable-v24/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="512"
android:viewportHeight="512">
<path
android:pathData="M-0,0h512v512h-512z"
android:strokeLineJoin="round"
android:strokeWidth="2.4132"
android:strokeLineCap="round">
<aapt:attr name="android:fillColor">
<gradient
android:startX="383.99"
android:startY="477.7"
android:endX="128"
android:endY="34.3"
android:type="linear">
<item android:offset="0" android:color="#FF8F2A85"/>
<item android:offset="1" android:color="#FF2570B6"/>
</gradient>
</aapt:attr>
</path>
</vector>
20 changes: 20 additions & 0 deletions android/app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="512"
android:viewportHeight="512">
<group android:scaleX="0.61"
android:scaleY="0.61"
android:translateX="99.84"
android:translateY="99.84">
<path
android:pathData="m460.13,144.59c-0.34,-0.02 -0.68,0.03 -1.01,0.16l-14.66,5.5v8.11l12.83,-6.02v209.41h-12.83v5.24h15.44c1.57,0 2.62,-1.05 2.88,-2.62v-216.21s0,-0.26 -0.26,-0.52v-1.31c-0.39,-0.98 -1.37,-1.67 -2.39,-1.73zM51.99,145.89c-0.43,0.03 -0.82,0.16 -1.21,0.42 -0.79,0.26 -1.31,1.31 -1.31,2.1v216.21c0,1.57 1.05,2.62 2.62,2.62h15.44v-5.24h-12.56v-209.41l12.56,5.76v-7.07l-11.26,-3.93 -2.88,-1.31c-0.52,-0.13 -0.98,-0.19 -1.41,-0.16zM116.22,167v5.76l1.57,0.79 12.3,7.85 -9.95,-4.45h-0.26l-3.66,-2.09v192.66h2.36c0.79,0 1.31,-0.26 2.09,-0.79 0.79,-0.52 135.33,-59.42 135.33,-59.42s136.9,59.94 137.69,60.21c0.79,0.26 2.88,0 2.88,0v-191.87l-23.82,10.47 12.56,-7.85 11.26,-4.45v-5.5l-13.09,4.97c-0.26,0 -0.26,0.26 -0.52,0.26 0,0 -44.76,27.48 -45.55,28.01 -0.79,0.52 -1.57,1.31 -1.57,2.36v14.92l-43.19,25.65c-0.79,0.26 -1.31,1.31 -1.31,2.09l-0.26,12.56 -23.56,13.87c-1.31,0.79 -0.79,2.62 -0.79,3.93v28.53l-9.95,-3.66c-0.52,-0.26 -1.31,-0.26 -1.83,0l-8.9,3.66v-28.53c0,-1.57 0.26,-2.88 -1.05,-3.67l-23.56,-13.87 -0.26,-12.56c0,-0.79 -0.52,-1.57 -1.31,-2.09l-42.93,-25.39v-15.44c0,-1.05 -0.52,-1.83 -1.57,-2.36l-3.4,-1.57 -51.57,-31.15c-0.26,0 -0.26,-0.26 -0.52,-0.26l-3.66,-1.57zM121.45,183.23 L168.57,204.17 171.45,205.74v132.19l-8.9,3.93v-51.83c0,-1.31 -0.78,-2.36 -2.09,-2.62l-25.39,-4.45c-0.79,-0.26 -1.57,-0 -2.1,0.52 -0.79,0.52 -1.05,1.31 -1.05,2.09v69.89l-10.47,4.71v-176.95zM391.06,183.49v176.95l-11.26,-4.97v-70.41c0,-0.79 -0.52,-1.57 -1.05,-2.09 -0.52,-0.52 -1.31,-0.79 -2.1,-0.52l-25.39,4.45c-1.31,0.26 -2.09,1.31 -2.09,2.62v52.35l-7.85,-3.4 -0.26,-132.45 50,-22.51zM128.16,202.95c-0.49,-0.02 -0.98,0.1 -1.47,0.43 -0.52,0.52 -1.05,1.31 -1.05,2.09v19.37c0,1.31 0.78,2.36 1.83,2.62l14.4,4.19h0.79c0.52,0 1.05,-0.26 1.57,-0.52 0.79,-0.52 1.05,-1.31 1.05,-2.09v-18.32c0,-1.05 -0.78,-2.09 -1.83,-2.36l-14.4,-5.23c-0.29,-0.1 -0.59,-0.16 -0.88,-0.17zM384.62,202.95c-0.29,0.01 -0.59,0.07 -0.88,0.17l-14.4,5.23c-1.05,0.26 -1.83,1.31 -1.83,2.36v18.32c0,0.79 0.26,1.57 1.05,2.09 0.52,0.26 1.05,0.52 1.57,0.52h0.79l14.4,-4.19c1.05,-0.52 1.83,-1.57 1.83,-2.62v-19.37c0,-0.79 -0.26,-1.57 -1.05,-2.09 -0.49,-0.33 -0.98,-0.45 -1.47,-0.43zM130.88,208.88 L140.05,212.28v13.09l-9.16,-2.62v-13.87zM381.91,209.4v13.61l-9.16,2.62v-13.09l9.16,-3.14zM151.73,210.54c-0.49,-0.02 -0.98,0.1 -1.47,0.43 -0.52,0.52 -1.05,1.31 -1.05,2.1v19.37c0,1.31 0.79,2.36 1.83,2.62l14.66,3.93h0.79c0.52,0 1.05,-0.26 1.57,-0.52 0.79,-0.52 1.05,-1.31 1.05,-2.1v-18.06c0,-1.05 -0.79,-2.09 -1.83,-2.36l-14.66,-5.24c-0.29,-0.1 -0.59,-0.16 -0.88,-0.17zM361.07,210.54c-0.29,0.01 -0.59,0.07 -0.88,0.17l-14.4,5.24c-1.05,0.26 -1.83,1.31 -1.83,2.36v18.06c0,0.79 0.52,1.57 1.05,2.1 0.52,0.26 1.05,0.52 1.57,0.52h0.79l14.4,-3.93c1.05,-0.52 1.83,-1.31 1.83,-2.62v-19.37c0,-0.79 -0.26,-1.57 -1.05,-2.1 -0.49,-0.33 -0.98,-0.45 -1.47,-0.43zM154.45,216.73 L163.88,220.14v12.83l-9.42,-2.62v-13.61zM358.36,216.73v13.61l-9.16,2.62v-12.83l9.16,-3.4zM335.85,224.85v3.4l-22.51,9.95 22.51,-13.35zM176.96,225.37 L195.55,236.36 176.96,228.25v-2.88zM176.96,233.75 L215.44,250.76v67.79l-8.9,3.93 -0.26,-24.87c0,-1.31 -0.78,-2.09 -1.83,-2.36l-15.44,-2.36c-0.79,0 -1.31,-0 -1.83,0.52s-0.79,1.05 -0.79,1.83l0.26,35.86 -9.69,4.19v-101.56zM335.85,233.75v101.82l-10.73,-4.71 0.26,-36.12c0,-0.79 -0.26,-1.31 -0.79,-1.83 -0.52,-0.52 -1.05,-0.52 -1.83,-0.52l-15.44,2.36c-1.05,0.26 -1.83,1.31 -1.83,2.36l-0.26,24.87 -7.85,-3.4v-67.79l38.48,-17.02zM128.44,240.45c-0.65,-0.01 -1.34,0.23 -1.73,0.63 -0.79,0.52 -1.05,1.31 -1.05,2.09v19.37c0,1.31 0.78,2.36 2.09,2.62l14.4,3.14h0.52c0.52,0 1.05,-0.26 1.83,-0.52 0.79,-0.52 1.05,-1.31 1.05,-2.09v-18.85c0,-1.31 -1.05,-2.36 -2.09,-2.62l-14.4,-3.66c-0.2,-0.07 -0.41,-0.1 -0.63,-0.1zM384.61,240.45c-0.2,0 -0.39,0.04 -0.59,0.1l-14.4,3.66c-1.31,0.26 -2.09,1.31 -2.09,2.62v18.85c0,0.79 0.52,1.57 1.05,2.09 0.52,0.26 1.05,0.52 1.57,0.52h0.79l14.4,-3.14c1.31,-0.26 2.09,-1.31 2.09,-2.62v-19.37c0,-0.79 -0.52,-1.57 -1.05,-2.09 -0.59,-0.39 -1.18,-0.64 -1.77,-0.63zM330.45,243c-0.28,0.01 -0.57,0.07 -0.87,0.17l-17.28,6.28c-1.05,0.26 -1.57,1.05 -1.57,2.1v11.52c0,0.79 0.52,1.31 1.05,1.83 0.26,0.26 0.79,0.52 1.31,0.52 0.26,0 0.53,0 0.79,-0.26l17.27,-5.76c1.05,-0.26 1.57,-1.05 1.57,-2.09v-12.04c0,-0.79 -0.52,-1.31 -1.05,-1.83 -0.33,-0.33 -0.76,-0.45 -1.22,-0.43zM182.65,243.26c-0.47,-0.02 -0.9,0.1 -1.22,0.43 -0.79,0.26 -1.05,1.05 -1.05,1.83v12.04c0,0.79 0.52,1.83 1.57,2.09l17.02,5.76h0.79c0.52,0 1.05,-0.26 1.31,-0.26 0.79,-0.52 1.05,-1.05 1.05,-1.83v-11.52c0,-0.79 -0.79,-1.83 -1.57,-2.09l-17.02,-6.28c-0.29,-0.1 -0.59,-0.16 -0.87,-0.17zM152.3,245.95c-0.59,-0.01 -1.18,0.23 -1.77,0.63 -0.79,0.52 -1.05,1.31 -1.05,2.09v19.11c0,1.31 0.78,2.36 2.09,2.62l14.4,3.4h0.52c0.52,0 1.05,-0.26 1.83,-0.52 0.79,-0.52 1.05,-1.31 1.05,-2.09v-18.85c0,-1.31 -1.05,-2.36 -2.09,-2.62l-14.4,-3.67c-0.2,-0.07 -0.39,-0.1 -0.59,-0.1zM361.05,245.95c-0.2,0 -0.39,0.04 -0.59,0.1l-14.4,3.67c-1.31,0.26 -2.09,1.31 -2.09,2.62v18.85c0,0.79 0.52,1.57 1.05,2.09 0.52,0.26 1.05,0.52 1.57,0.52h0.79l14.4,-3.4c1.31,-0.26 2.09,-1.31 2.09,-2.62v-19.11c0,-0.79 -0.52,-1.57 -1.05,-2.09 -0.59,-0.39 -1.18,-0.64 -1.77,-0.63zM130.9,246.57 L140.06,248.93v13.61l-9.16,-2.1v-13.87zM381.93,246.57v13.87l-9.16,2.1v-13.61l9.16,-2.36zM185.09,248.41 L197.65,253.12v6.8l-12.56,-4.19v-7.33zM328.27,248.67v7.07l-12.83,4.19v-6.8l12.83,-4.45zM154.72,251.81 L163.88,254.17v13.61l-9.16,-2.09v-13.87zM358.37,252.33v13.61l-9.16,2.09v-13.61l9.16,-2.09zM292.14,264.37v2.36l-8.9,2.88 8.9,-5.23zM220.68,265.16 L225.4,268.04 220.68,266.47v-1.31zM194.16,270.49c-0.47,-0.02 -0.9,0.1 -1.22,0.43 -0.52,0.52 -0.79,1.05 -0.79,1.83v12.3c0,1.05 0.79,1.83 1.83,2.09l16.49,3.93h0.52c0.52,0 1.05,-0.26 1.31,-0.26 0.52,-0.52 0.79,-1.05 0.79,-1.83v-11.78c0,-1.05 -0.52,-1.83 -1.57,-2.09l-16.49,-4.45c-0.29,-0.1 -0.59,-0.16 -0.87,-0.17zM318.6,270.55c-0.17,0.01 -0.35,0.04 -0.55,0.11l-16.49,4.45c-0.79,0.26 -1.57,1.05 -1.57,2.09v11.78c0,0.79 0.26,1.31 0.79,1.83 0.26,0.26 1.57,0.52 1.83,0.26l16.49,-3.93c1.05,0 1.83,-1.05 1.83,-2.09v-12.3c0,-0.79 -0.26,-1.31 -0.79,-1.83 -0.59,-0.2 -1.03,-0.39 -1.55,-0.37zM292.14,271.96v44.24l-5.24,-2.36v-15.44c0,-0.52 -0.26,-1.05 -0.52,-1.31 -0.26,-0.26 -0.79,-0.52 -1.31,-0.52l-8.11,0.52c-1.05,0 -1.83,0.78 -1.83,1.83v9.69l-3.14,-1.31v-28.79l20.16,-6.54zM220.68,272.23 L240.84,279.03v28.53l-3.4,1.31v-9.95c0,-1.05 -0.79,-1.83 -1.83,-1.83l-8.11,-0.52c-0.52,0 -1.05,0.26 -1.31,0.52 -0.26,0.26 -0.52,0.79 -0.52,1.31v15.97l-4.97,2.09v-44.24zM196.86,275.63 L208.9,278.77v7.07l-12.04,-2.88v-7.33zM316.48,275.63v7.59l-12.04,2.88v-7.07l12.04,-3.4zM231.67,280.08c-3.4,0 -6.02,3.14 -6.02,6.8s2.62,6.81 6.02,6.81c3.4,0 6.02,-3.14 6.02,-6.81s-2.62,-6.8 -6.02,-6.8zM281.4,280.08c-3.4,0 -6.02,3.14 -6.02,6.8s2.62,6.81 6.02,6.81c3.4,0 6.02,-3.14 6.02,-6.81s-2.62,-6.8 -6.02,-6.8zM231.67,283.74c1.31,0 2.36,1.31 2.36,3.14s-1.05,3.14 -2.36,3.14 -2.36,-1.31 -2.36,-3.14c0,-1.83 1.05,-3.14 2.36,-3.14zM281.4,283.74c1.31,0 2.36,1.31 2.36,3.14s-1.05,3.14 -2.36,3.14 -2.36,-1.31 -2.36,-3.14c0,-1.83 1.05,-3.14 2.36,-3.14zM374.59,287.93v64.92l-20.15,-8.64v-52.88l20.15,-3.4zM137.18,288.46 L157.33,292.12v52.35l-20.15,8.9v-64.92zM320.93,297.09 L320.67,328.77 309.67,323.79 309.94,298.66 320.93,297.09zM191.1,297.88 L202.09,299.45 202.36,324.32 191.36,329.03 191.1,297.88zM283.5,300.23v12.04l-4.45,-2.09v-9.69l4.45,-0.26zM229.32,300.5 L233.76,301.02v9.68l-4.45,2.09v-12.3z"
android:strokeWidth="2.6176"
android:fillColor="#FFFFFF"/>
<path
android:pathData="m91.35,103.39c-8.11,0 -14.66,6.54 -14.66,14.66v66.75c0,8.11 6.54,14.66 14.66,14.66s14.66,-6.54 14.66,-14.66v-52.09h62.3c8.11,0 14.66,-6.54 14.66,-14.66 0,-8.11 -6.54,-14.66 -14.66,-14.66zM343.69,103.39c-8.11,0 -14.66,6.54 -14.66,14.66 0,8.11 6.54,14.66 14.66,14.66h62.3v52.09c0,8.11 6.54,14.66 14.66,14.66 8.11,0 14.66,-6.54 14.66,-14.66v-66.75c0,-8.11 -6.54,-14.66 -14.66,-14.66zM91.35,312.27c-8.11,0 -14.66,6.54 -14.66,14.66v66.75c0,8.11 6.54,14.66 14.66,14.66h76.96c8.11,0 14.66,-6.54 14.66,-14.66 0,-8.11 -6.54,-14.66 -14.66,-14.66h-62.3v-52.09c0,-8.11 -6.54,-14.66 -14.66,-14.66zM420.64,312.27c-8.11,0 -14.66,6.54 -14.66,14.66v52.09h-62.3c-8.11,0 -14.66,6.54 -14.66,14.66 0,8.11 6.54,14.66 14.66,14.66h76.96c8.11,0 14.66,-6.54 14.66,-14.66v-66.75c0,-8.11 -6.54,-14.66 -14.66,-14.66z"
android:strokeWidth="2.6176"
android:fillColor="#FFFFFF"/>
</group>
</vector>
6 changes: 6 additions & 0 deletions android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?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"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
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 android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 271071c

Please sign in to comment.