Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaptive icon implement #275

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions android/app/src/main/res/drawable-v21/ic_launcher_monochrome.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?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">

<group>
<path
android:fillColor="#000000"
android:fillType="evenOdd"
android:pathData="M53.8254 71.776C53.8837 71.776 53.9419 71.7756 54 71.7753V71.776C55.1572 71.776 56.0952 72.7215 56.0952 73.888C56.0952 75.0545 55.1572 76 54 76C53.9862 76 53.9724 76 53.9587 75.9996C53.9143 76 53.8699 76 53.8254 76C41.7716 76 32 66.1503 32 54C32 41.8497 41.7716 32 53.8254 32C65.7948 32 75.5139 41.7123 75.6494 53.7451C75.6504 53.7713 75.6508 53.7976 75.6508 53.824C75.6508 54.9904 74.7128 55.936 73.5556 55.936C72.3983 55.936 71.4603 54.9904 71.4603 53.824H71.4596C71.4572 53.5882 71.4505 53.3535 71.439 53.12H36.2117C36.1976 53.4116 36.1905 53.7049 36.1905 54C36.1905 63.8174 44.0859 71.776 53.8254 71.776ZM39.0321 44.32C42.177 39.4466 47.6279 36.224 53.8254 36.224C60.0229 36.224 65.4738 39.4466 68.6188 44.32H39.0321ZM63.0794 48.72C63.0794 50.178 61.9068 51.36 60.4603 51.36C59.0139 51.36 57.8413 50.178 57.8413 48.72C57.8413 47.262 59.0139 46.08 60.4603 46.08C61.9068 46.08 63.0794 47.262 63.0794 48.72ZM47.1905 51.36C48.6369 51.36 49.8095 50.178 49.8095 48.72C49.8095 47.262 48.6369 46.08 47.1905 46.08C45.744 46.08 44.5714 47.262 44.5714 48.72C44.5714 50.178 45.744 51.36 47.1905 51.36ZM60.6349 61.216V74.416C60.6349 75.1936 61.2603 75.824 62.0317 75.824H63.4286C64.2 75.824 64.8254 75.1936 64.8254 74.416V71.7218C64.8254 70.4349 66.397 69.8224 67.2559 70.7749L71.394 75.3632C71.6587 75.6568 72.0341 75.824 72.4273 75.824H74.6032C75.3746 75.824 76 75.1936 76 74.416V61.216C76 60.4384 75.3746 59.808 74.6032 59.808H73.2064C72.435 59.808 71.8095 60.4384 71.8095 61.216V64.2532C71.8095 65.5628 70.191 66.163 69.349 65.1657L65.2437 60.3034C64.9783 59.9891 64.5894 59.808 64.18 59.808H62.0317C61.2603 59.808 60.6349 60.4384 60.6349 61.216Z" />
</group>
</vector>
1 change: 1 addition & 0 deletions android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<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_monochrome"/>
</adaptive-icon>