Hi folks,
I have been looking at the sliding panels tutorial but cannot work out to make it work with my 2 panels.
I have a Layout with both panels called 2panel, panels are called pnlLayout1 and pnlLayout2, I switch between them by setting Visible=True or False.
In Activity_Create(FirstTime As Boolean) I have:-
How can I slide between these 2 panels with finger swipe?
TIA
I have been looking at the sliding panels tutorial but cannot work out to make it work with my 2 panels.
I have a Layout with both panels called 2panel, panels are called pnlLayout1 and pnlLayout2, I switch between them by setting Visible=True or False.
In Activity_Create(FirstTime As Boolean) I have:-
B4X:
Activity.LoadLayout("2panel")
pnlLayout1.Top=0
pnlLayout1.Left=0
pnlLayout1.Visible=True
pnlLayout2.Top=0
pnlLayout2.Left=0
pnlLayout2.Visible=False
How can I slide between these 2 panels with finger swipe?
TIA