瀏覽代碼

feature(android): add android 13 API themed icons (#9862)

Johan Penttinen 2 年之前
父節點
當前提交
7a63c9a89c

+ 2 - 1
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

@@ -2,4 +2,5 @@
 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
     <background android:drawable="@color/ic_launcher_background"/>
     <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
-</adaptive-icon>
+    <monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
+</adaptive-icon>

+ 1 - 0
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

@@ -2,4 +2,5 @@
 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
     <background android:drawable="@color/ic_launcher_background"/>
     <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
+    <monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
 </adaptive-icon>

二進制
android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png


二進制
android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png


二進制
android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png


二進制
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png


二進制
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png


二進制
resources/icon_monochrome.png