Richa
Richa

Reputation: 3193

App icon not displaying when application goes to background

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">

Upvotes: 3

Views: 1299

Answers (2)

Md. Asaduzzaman
Md. Asaduzzaman

Reputation: 15433

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

Upvotes: 1

Bruno
Bruno

Reputation: 4007

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"

Upvotes: 0

Related Questions