Fix adaptive icon
This commit is contained in:
parent
db591ea3a7
commit
cc8857c9f6
@ -19,6 +19,7 @@
|
|||||||
<preference name="ShowSplashScreenSpinner" value="false"/>
|
<preference name="ShowSplashScreenSpinner" value="false"/>
|
||||||
|
|
||||||
<platform name="android">
|
<platform name="android">
|
||||||
|
<preference name="android-minSdkVersion" value="21" />
|
||||||
<preference name="HeaderColor" value="#324150"/>
|
<preference name="HeaderColor" value="#324150"/>
|
||||||
<preference name="StatusBarBackgroundColor" value=""/>
|
<preference name="StatusBarBackgroundColor" value=""/>
|
||||||
<allow-intent href="market:*"/>
|
<allow-intent href="market:*"/>
|
||||||
@ -28,6 +29,7 @@
|
|||||||
<icon background="res/android/mipmap-xhdpi/ic_launcher_background.png" density="xhdpi" foreground="res/android/mipmap-xhdpi/ic_launcher_foreground.png" src="res/android/mipmap-xhdpi/ic_launcher.png" />
|
<icon background="res/android/mipmap-xhdpi/ic_launcher_background.png" density="xhdpi" foreground="res/android/mipmap-xhdpi/ic_launcher_foreground.png" src="res/android/mipmap-xhdpi/ic_launcher.png" />
|
||||||
<icon background="res/android/mipmap-xxhdpi/ic_launcher_background.png" density="xxhdpi" foreground="res/android/mipmap-xxhdpi/ic_launcher_foreground.png" src="res/android/mipmap-xxhdpi/ic_launcher.png" />
|
<icon background="res/android/mipmap-xxhdpi/ic_launcher_background.png" density="xxhdpi" foreground="res/android/mipmap-xxhdpi/ic_launcher_foreground.png" src="res/android/mipmap-xxhdpi/ic_launcher.png" />
|
||||||
<icon background="res/android/mipmap-xxxhdpi/ic_launcher_background.png" density="xxxhdpi" foreground="res/android/mipmap-xxxhdpi/ic_launcher_foreground.png" src="res/android/mipmap-xxxhdpi/ic_launcher.png" />
|
<icon background="res/android/mipmap-xxxhdpi/ic_launcher_background.png" density="xxxhdpi" foreground="res/android/mipmap-xxxhdpi/ic_launcher_foreground.png" src="res/android/mipmap-xxxhdpi/ic_launcher.png" />
|
||||||
|
<resource-file src="res/android/mipmap-anydpi-v26/ic_launcher.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" />
|
||||||
|
|
||||||
<splash src="res/android/drawable-land-hdpi/screen.png" density="land-hdpi"/>
|
<splash src="res/android/drawable-land-hdpi/screen.png" density="land-hdpi"/>
|
||||||
<splash src="res/android/drawable-land-ldpi/screen.png" density="land-ldpi"/>
|
<splash src="res/android/drawable-land-ldpi/screen.png" density="land-ldpi"/>
|
||||||
|
5
res/android/mipmap-anydpi-v26/ic_launcher.xml
Normal file
5
res/android/mipmap-anydpi-v26/ic_launcher.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?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"/>
|
||||||
|
</adaptive-icon>
|
Loading…
x
Reference in New Issue
Block a user