feat: android 13+ material you icon support

- https://developer.android.com/about/versions/13/features#themed-app-icons
This commit is contained in:
Infi 2022-12-23 14:57:49 +01:00
parent 6e1560d9a3
commit 4356f759e0
6 changed files with 25 additions and 17 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
/.idea/deploymentTargetDropDown.xml
.DS_Store
/build
/captures

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<targetSelectedWithDropDown>
<Target>
<type value="QUICK_BOOT_TARGET" />
<deviceKey>
<Key>
<type value="VIRTUAL_DEVICE_PATH" />
<value value="C:\Users\sp46a\.android\avd\Pixel_2_API_23.avd" />
</Key>
</deviceKey>
</Target>
</targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2022-11-28T15:52:35.350851100Z" />
</component>
</project>

View File

@ -0,0 +1,11 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="28.575"
android:viewportHeight="28.575">
<path
android:pathData="m16.272,12.646c0,0.734 -0.4,1.175 -1.255,1.175H13.602v-2.323h1.415c0.854,0 1.255,0.454 1.255,1.148zM9.95,9.602 L11.32,11.502v7.47h2.283v-3.537h0.547l1.949,3.538h2.576l-2.163,-3.711c1.244,-0.303 2.11,-1.43 2.082,-2.71 0,-1.629 -1.148,-2.95 -3.444,-2.95z"
android:strokeWidth="0.0684682"
android:fillColor="@android:color/system_accent1_100"
android:strokeColor="@android:color/system_accent1_100" />
</vector>

View File

@ -0,0 +1,11 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="28.575"
android:viewportHeight="28.575">
<path
android:pathData="m16.272,12.646c0,0.734 -0.4,1.175 -1.255,1.175H13.602v-2.323h1.415c0.854,0 1.255,0.454 1.255,1.148zM9.95,9.602 L11.32,11.502v7.47h2.283v-3.537h0.547l1.949,3.538h2.576l-2.163,-3.711c1.244,-0.303 2.11,-1.43 2.082,-2.71 0,-1.629 -1.148,-2.95 -3.444,-2.95z"
android:strokeWidth="0.0684682"
android:fillColor="#fe4654"
android:strokeColor="#fe4654"/>
</vector>

View File

@ -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>

View File

@ -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>