Hello GameDev,
Ive recently begun programming my first Android Game and ive really been wondering something:
Which is the better way to approach screen changes? Should i be looking to build layouts or activities and what are the prime use cases for one over the other?
As always, much appreciated!
Activities or Layouts?
I think activities are better. If you use one activity and then load different layouts, your source code will become a mess. It's better to keep all functionality of a single screen in a single activity or your project will becode very confusing.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement