Android Question How to close a layout ?

Yayou49

Active Member
Licensed User
Hi,

I'm in activity(1) and I start layout1 whith activity.loadlayout("layout1").
On on press button in the activity(1) I load a new layout activity.loadlayout("layout2").

How to close layout2 and go back to layout1 ?
 

Sanxion

Active Member
Licensed User
Longtime User
Hi,

I'm in activity(1) and I start layout1 whith activity.loadlayout("layout1").
On on press button in the activity(1) I load a new layout activity.loadlayout("layout2").

How to close layout2 and go back to layout1 ?

You can use Activity.Start("layout1")

This will close your current layout and transfer you to "layout1".
 
Upvote 0
Top