-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 stands with Ukraine
  • 25,310
  • 18
  • 114
  • 149

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
  • 13,459
  • 7
  • 54
  • 77