Sign in to follow this  

Activities or Layouts?

This topic is 1981 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this