I
I
Ilya Ogurchikov2017-07-28 17:44:49
Android
Ilya Ogurchikov, 2017-07-28 17:44:49

How to set the icon displayed in the multitasking menu (Recents)?

Good day. I set an icon for my app and it shows up correctly on the desktop, in the apps menu, but not in the multitasking menu (Recents) -- it shows the default icon for any Android app.
Here is my AndroidManifest.xml :

<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.icucumber.taskstrbeta">

    <application
        android:name="com.orm.SugarApp"
        android:label="@string/app_name"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:roundIcon="@mipmap/ic_launcher"
        android:supportsRtl="true"
        android:theme="@style/AppTheme"
        tools:replace="android:icon">
        <meta-data
            android:name="DATABASE"
            android:value="taskstrBeta.db" />
        <meta-data
            android:name="VERSION"
            android:value="1" />
        <meta-data
            android:name="QUERY_LOG"
            android:value="false" />
        <meta-data
            android:name="DOMAIN_PACKAGE_NAME"
            android:value="com.icucumber" />

        <activity
            android:name=".activities.MainActivity"
            android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity android:name=".activities.EditActivity" />
    </application>

</manifest>

How would you fix it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question