How to prevent "MainActivity screen "display
<p>I have an Android app in which the first screen is a menu display. Before it gets to the menu display though it displays a page with the launcher icon and "Main Activity" at the top. How do I prevent this display? Manifest file has this:</p>

<pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.menu"
android:versionCode="1"
android:versionName="1.0" &gt;

&lt;uses-sdk
    android:minSdkVersion="11"
    android:targetSdkVersion="15" /&gt;

&lt;application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" &gt;

    &lt;activity
        android:name=".MainActivity"
        android:label="@string/title_activity_main" &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>

<p>--- edit</p>

<p>So the class that displayed the menu was called MainActivity.java. Maybe not a good idea, if only because it is not a good practice. So I renamed it to MenuActivity.java and changed the manifest accordingly(below). But the behavior is still the same.</p>

<pre><code>&lt;application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" &gt;

    &lt;activity
        android:name=".MenuActivity"
        android:label="@string/menu_activity" &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>
