Adoptive app icon

This commit is contained in:
Yegor Vialov 2020-04-30 12:43:56 +00:00
parent 947558bb3d
commit 9dbb697e58
5 changed files with 37 additions and 2 deletions

View File

@ -0,0 +1,30 @@
<?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>
<clip-path
android:pathData="M 0 0 H 108 V 108 H 0 V 0 Z" />
<path
android:fillColor="#709ac1"
android:fillAlpha="0"
android:pathData="M 0 0 H 108 V 108 H 0 V 0 Z" />
<path
android:fillColor="#000000"
android:fillAlpha="0.16"
android:pathData="M 69.841 41.655 L 108 75 L 108 108 L 62.733 108 L 35.847 74.342 L 39.02 66 L 37 53 L 43.779 47.539 L 51.938 38 L 62.733 45.578 L 68 45.578 L 69.841 41.655 Z" />
<path
android:fillColor="#000000"
android:pathData="M 133 87 L 138 101" />
<path
android:fillColor="#000000"
android:fillAlpha="0.16"
android:pathData="M 30 56.909 L 43.779 73 L 39.02 61.006 L 37 54.251 L 30 56.909 Z" />
<path
android:fillColor="#ffffff"
android:pathData="M 76.187 56.909 L 72.108 56.909 L 72.108 74.342 L 56.244 74.342 L 56.244 67.086 L 62.567 61.006 L 64.176 61.267 C 66.805 61.267 68.935 59.219 68.935 56.691 C 68.935 54.163 66.805 52.115 64.176 52.115 C 61.547 52.115 59.416 54.164 59.416 56.691 L 59.643 58.238 L 56.244 61.551 L 56.244 49.609 C 57.739 48.825 58.737 47.321 58.737 45.578 C 58.737 43.05 56.606 41.002 53.977 41.002 C 51.349 41.002 49.218 43.05 49.218 45.578 C 49.218 47.321 50.215 48.825 51.711 49.609 L 51.711 61.551 L 48.312 58.238 L 48.538 56.691 C 48.538 54.164 46.407 52.115 43.779 52.115 C 41.151 52.115 39.02 54.164 39.02 56.691 C 39.02 59.219 41.151 61.267 43.779 61.267 L 45.388 61.006 L 51.711 67.086 L 51.711 74.342 L 35.847 74.342 L 35.847 56.909 L 31.881 56.909 C 30.929 56.909 30 56.909 30 56.452 C 30.023 55.972 30.975 55.057 31.949 54.12 L 51.711 35.118 C 52.459 34.399 53.229 33.658 53.977 33.658 C 54.725 33.658 55.496 34.399 56.244 35.118 L 65.309 43.834 L 65.309 41.655 L 69.841 41.655 L 69.841 48.193 L 76.142 54.251 C 77.048 55.122 77.977 56.016 78 56.473 C 78 56.909 77.093 56.909 76.187 56.909 Z M 43.779 54.73 C 44.32 54.73 44.839 54.937 45.221 55.304 C 45.604 55.672 45.819 56.171 45.819 56.691 C 45.819 57.211 45.604 57.71 45.221 58.078 C 44.839 58.446 44.32 58.652 43.779 58.652 C 43.238 58.652 42.719 58.446 42.337 58.078 C 41.954 57.71 41.739 57.211 41.739 56.691 C 41.739 56.171 41.954 55.672 42.337 55.304 C 42.719 54.937 43.238 54.73 43.779 54.73 Z M 64.176 54.73 C 65.309 54.73 66.215 55.602 66.215 56.691 C 66.215 57.781 65.309 58.652 64.176 58.652 C 63.635 58.652 63.116 58.446 62.733 58.078 C 62.351 57.71 62.136 57.211 62.136 56.691 C 62.136 56.171 62.351 55.672 62.733 55.304 C 63.116 54.937 63.635 54.73 64.176 54.73 Z M 53.977 43.616 C 55.11 43.616 56.017 44.488 56.017 45.578 C 56.017 46.667 55.11 47.539 53.977 47.539 C 52.844 47.539 51.938 46.667 51.938 45.578 C 51.938 44.488 52.844 43.616 53.977 43.616 Z" />
</group>
</vector>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen --> <!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:color/white" /> <item android:drawable="@color/main_color" />
<!-- You can insert your own image assets here --> <!-- You can insert your own image assets here -->
<!-- <item> <!-- <item>

View File

@ -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="@color/main_color"/>
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="main_color">#709AC1</color>
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar"> <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when <!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame --> Flutter draws its first frame -->

View File

@ -44,7 +44,6 @@ flutter:
uses-material-design: true uses-material-design: true
assets: assets:
- images/hassio-192x192.png
- assets/js/externalAuth.js - assets/js/externalAuth.js
- assets/html/cameraView.html - assets/html/cameraView.html
- assets/html/cameraLiveView.html - assets/html/cameraLiveView.html