Android Question Help with layout

apty

Active Member
Licensed User
Longtime User
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

tap-home-screen-settings.jpg
 
Top