onionwire/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

19 lines
1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!-- OnionWire launcher icon (adaptive).
The artwork lives in drawable-nodpi/onionwire_app_icon.png as a single
432x432 full-bleed bitmap: the networked-onion logo at 62% of the canvas
(inside the 66dp/108dp adaptive-icon safe zone) over a seamless blurred
backdrop of itself. It is used as the background layer, so the launcher
mask can crop the outer edge of the artwork without ever clipping the
logo. The foreground layer is transparent on purpose: the whole icon is
the bitmap.
Do not point android:icon at a bitmap in this directory again. A bitmap
under mipmap-anydpi-v26 is a *legacy* icon: it is not an adaptive icon, so
the launcher pads it into the mask with its own plate and it scales wrong
on high-density screens. -->
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/onionwire_app_icon" />
<foreground android:drawable="@android:color/transparent" />
</adaptive-icon>