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
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](/android/forum/proxy.php?image=https%3A%2F%2Fimages.samsung.com%2Fis%2Fimage%2Fsamsung%2Fp5%2Fsg%2Fsupport%2Fcontents%2Fmobile%2Fhow-to-return-to-home-screen-of-previous-style-with-apps-button-in-samsung-mobile-device%2Ftap-home-screen-settings.jpg%3F%24ORIGIN_JPG%24&hash=395f2ff805414335a0cd18cc63bfbae2)