How can I move a layout from one activity to another

mrjaw

Active Member
Licensed User
Longtime User
Hi!
I have one activity with 4 layout but now I have to do another activity and I need 3 layout of them to second activity.
How can I pass this layout to other activity?

Thks
 

roarnold

Active Member
Licensed User
Longtime User
Multiple Activity

This is how I accomplished the addition of an activity. In designer I created another Activity (FileName.Bal) and in this case I wanted to present a full screen log with a label overlay after a purchase. After gathering information and processing it I call the LoadLayout ("activitylogo")as mentioned in the other response

Sub delivery (rtext)
Activity.LoadLayout("activitylogo")
If rtext = "" Then

Label1.Text = " All Items Retrieved for" & CRLF & " Purchase" & Confirm & CRLF & " Thank You"
Return
Else
ImageView1.Initialize("")
Activity.AddView(ImageView1, 0, 0, 320, 480) ' ActivityLogo (second one).AddView(ImageView1 As android.view.View, Left As Int, Top As Int, Height As Int)

Label1.Text = rtext


End If
Return
End Sub

Hope it helps
 
Upvote 0
Top