Application icon not displaying when app goes to background. Instead app icon it shows default android icon. Although i added app icon with transparent background . Any help is appreciated .
Manifest File :
<application
android:name=".TeenApplication"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
From Android Nougat, default launcher icon should be roundIcon
. See this Reference
You have to add it in your AndroidManifest
for your application
tag
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.