3

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 .enter image description here

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">
Richa
  • 3,165
  • 1
  • 22
  • 26

2 Answers2

1

Remove ic_launcher_foreground.xml from drawable-v24 folder

/res/drawable-v24/ic_launcher_foreground.xml

The image should be like this:

enter image description here

Md. Asaduzzaman
  • 14,963
  • 2
  • 34
  • 46
0

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"
Bruno
  • 3,872
  • 4
  • 20
  • 37