mirror of
https://gitea.mayex.net/mayekkuzu/Audinaut.git
synced 2025-01-23 19:54:54 +03:00
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
5
app/src/main/res/drawable-anydpi-v26/launch.xml
Normal file
5
app/src/main/res/drawable-anydpi-v26/launch.xml
Normal file
@ -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>
|
BIN
app/src/main/res/drawable-hdpi/ic_launcher_foreground.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_launcher_foreground.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
BIN
app/src/main/res/drawable-mdpi/ic_launcher_foreground.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_launcher_foreground.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
9
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
9
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
@ -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>
|
7
app/src/main/res/drawable/ic_launcher_padded.xml
Normal file
7
app/src/main/res/drawable/ic_launcher_padded.xml
Normal file
@ -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
Block a user