mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
016018513e
* Added the monochrome version for Cordova's icon * android: modified the ic_launcher.xml to include the monochrome drawable * android: replaced monochrome image with rasterized images * android: Added support for custom monochrome icons defined in config.xml * android: Updated Tests * android: wrapped inside if(monochrome) * android: Update templates/project/res/mipmap-hdpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * Update lib/prepare.js Co-authored-by: エリス <erisu@users.noreply.github.com> * android: Update templates/project/res/mipmap-ldpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * android: Update templates/project/res/mipmap-mdpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * android Update templates/project/res/mipmap-xhdpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * android: Update templates/project/res/mipmap-xxhdpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * android: Update templates/project/res/mipmap-xxxhdpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * android: Update lib/prepare.js Co-authored-by: エリス <erisu@users.noreply.github.com> * Resolved lint errors * fix: test failure --------- Co-authored-by: エリス <erisu@users.noreply.github.com>
7 lines
338 B
XML
7 lines
338 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<background android:drawable="@mipmap/ic_launcher_background" />
|
|
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
|
|
<monochrome android:drawable="@mipmap/ic_launcher_monochrome" />
|
|
</adaptive-icon>
|