Jump to content

  • Log In with Google      Sign In   
  • Create Account

Activities or Layouts?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 JOrrWhat   Members   -  Reputation: 140

Like
0Likes
Like

Posted 12 August 2012 - 07:24 PM

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!

Sponsor:

#2 Epic Zombie   Members   -  Reputation: 145

Like
0Likes
Like

Posted 15 August 2012 - 06:15 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS