Android app can be launched when press icon?
<p>I've build my project as .apk file and then I installed it into my device. 
My step is:</p>

<p>1) Press an icon in app drawer, the Main Activity was started.</p>

<p>2) Press some action to go to Second Activity</p>

<p>3) Press Home Button</p>

<p>4) Press icon again</p>

<p>My expectation is the Second Activity should be resume but it just relaunch Main Activity.</p>

<p>How can I fix that I have tried set LaunchMode as </p>

<p>android:launchMode="singleTask"</p>

<p>android:launchMode="singleTop"</p>

<p>but it doesn't work.</p>

<p>Here is my setting in Manifest.xml file</p>

<pre><code>            &lt;activity
        android:name=".auction.MySplashScreen"
        android:configChanges="orientation"
        android:label="@string/app_name"
        android:launchMode="singleTask"
        android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" &gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;

            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
            &lt;/activity&gt;
</code></pre>
