I have a very simple game that consists of only one activity, and I want to add a title screen.
If the title screen is another activity, what changes do I need to make t
All you should have to do is change:
to:
If you want your title screen to start the game via startActivity()
, you'll also need to declare your Leeder
activity in the manifest.
Edit: Yes, you need the android.intent.category.LAUNCHER
intent, which is what Android dispatches when it starts an app (i.e. it tells Android to start the Activity when the application is started).
Here is a good overview of intents and intent filters.