-3

I made two activities in Android Studio. One of them is an empty activity the other is a Basic activity. My Problem now is that if I run the app my Smartphone Shows me two files. How can I make this into one file?

[enter image description here]

Zoe
  • 27,060
  • 21
  • 118
  • 148
  • 2
    Possible duplicate of [Two launcher activities](https://stackoverflow.com/questions/8927315/two-launcher-activities) – Zoe Apr 27 '19 at 09:31

1 Answers1

1

It seems both of your activities have the android.intent.category.LAUNCHER

    <activity
        android:name=".YourActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
hannes ach
  • 16,247
  • 7
  • 61
  • 84