I need to create a layout like the one on the image below.
I would appreciate any help on how to achieve same layout with viewpager.
I tried using the below code to scale the viewpager on Activity_LongClick but still no success
B4X:
Dim jo As JavaObject = ViewPager1
Dim factor As Float = 0.8
jo.RunMethod("setScaleX", Array(factor))
jo.RunMethod("setScaleY", Array(factor))
ViewPager1.PageMargin=-40%x
I don't think that the scaling code will help. You can use B4XView.Snapshot to capture the panels visual state and then show these bitmaps with xCLV in horizontal orientation.