Hello,
I have two a activities and I am trying to animate them..
Activity 1
Main:
Activity 2
Main2:
When I tap on the button (open_click) it loads my second Activity (Main2) which works, but I want to make it so that the Activity that was already opened (Main) to move to the left while the other activity opens (Main2) from the right.
I have seen the Custom Activity Animation post but it looks like the activity / image fades over the top but I want it to slide left or right.
Does anyone know how to do this?
I have two a activities and I am trying to animate them..
Activity 1
Main:
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main") 'name of my layout file
End Sub
Sub open_Click
StartActivity(Main2)
End Sub
Activity 2
Main2:
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main2") 'name of my layout file
End Sub
When I tap on the button (open_click) it loads my second Activity (Main2) which works, but I want to make it so that the Activity that was already opened (Main) to move to the left while the other activity opens (Main2) from the right.
I have seen the Custom Activity Animation post but it looks like the activity / image fades over the top but I want it to slide left or right.
Does anyone know how to do this?