Swapping screens/windows

raphipps2002

Active Member
Licensed User
Longtime User
Forgive the terminolgy but how do I swap between screen displays (windows)

I want a menu option whereby User can select 1,2 or 3 and then different 'Layout' as displayed then the ability to swap backwards and forwards

What should I be looking for i the tutorials?

Is each screen an activity?

thanks
 

lagore

Active Member
Licensed User
Longtime User
You can use the sliding panels like NJDude says or else have a 'Main' activity and 3 other activities which are called from the 'Main' activity, in the activity_create of each activity you can load the relevant layout. The back key will then bring you back to your previous activity (Main in this case) unless you trap the back key. You can call further activities from these activities but you need to be careful that your user does not get lost navigating your app. The sliding panels are very handy where you need more input/display then can be shown on one screen but it is all related, you can also use a scrollview to do something similar.
 
Upvote 0
Top