Hello
I am reading through Alexander Stolte's Sliding Onboard Example and I am missing the obvious. I get that the page is composed of text and a graphic and they take half each, but how would I switch the positions given that the code for the top is set at 0 for both items?
the GenImageViews routine looks very similar to the code for CreateListItem in ASViewPager
What If I wanted to add say 3 items, either pictures or a custom list view say, one at the top taking 15% and the other 2 taking the rest of the screen equally
Many thanks for any help
EDIT:
Not sure if bumping a post is allowed due to non replies. Please advise if this is the case
Thanks for any replies
I am reading through Alexander Stolte's Sliding Onboard Example and I am missing the obvious. I get that the page is composed of text and a graphic and they take half each, but how would I switch the positions given that the code for the top is set at 0 for both items?
B4X:
ImageView1.SetLayoutAnimated(0,0,0,Activity.Width,Activity.Height/2)
the GenImageViews routine looks very similar to the code for CreateListItem in ASViewPager
B4X:
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, Width,Height)
What If I wanted to add say 3 items, either pictures or a custom list view say, one at the top taking 15% and the other 2 taking the rest of the screen equally
Many thanks for any help
EDIT:
Not sure if bumping a post is allowed due to non replies. Please advise if this is the case
Thanks for any replies
Last edited: