Add initial support for android adaptive icons. TODO: Add backdrop shadow layer with vectors to adaptive icon
This commit is contained in:
parent
0239248b23
commit
d176ed4036
|
@ -0,0 +1,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_padded" />
|
||||||
|
</adaptive-icon>
|
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="108dp"
|
||||||
|
android:height="108dp"
|
||||||
|
android:viewportWidth="48.0"
|
||||||
|
android:viewportHeight="48.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#3F3F3F"
|
||||||
|
android:pathData="M0,0 l 0,-100 100,100 0,0 -100,100z" />
|
||||||
|
</vector>
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<inset xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:drawable="@drawable/ic_launcher_foreground"
|
||||||
|
android:insetLeft="20%"
|
||||||
|
android:insetTop="20%"
|
||||||
|
android:insetRight="20%"
|
||||||
|
android:insetBottom="20%" />
|
Loading…
Reference in New Issue