Reputation: 708
So I was wondering if adding multiple activities in my app, do each require a manifest xml file or whatever? I tried switching activities without it and it crashed. Then I added the other activity and it worked. I ask because I hate the use of xml so I try to do everything programatically.
Upvotes: 0
Views: 369
Reputation: 895
Actually android use xml everywhere, manifest, layout, menu, preference, string etc.So get used to it.
Upvotes: 0
Reputation: 6126
You need to learn to love XML :-) Yes, every activity needs to be declared in the manifest.
Upvotes: 3