views:

411

answers:

1

Hi, i'm new with android.

I'm working on an application using xml layouts. I wish to know which is better: 1. Use few activities and change its contentview 2. Use an activity for each 'view' needed

If both works, in which case which option would be better?

thx a lot

+4  A: 

The general rule would be to use multiple activities. That's the way it's meant to be and you won't be breaking navigation (e.g. going to the previous "screen" by pressing back button).

alex