I've been struggling with this code for quite sometime in order to make it cross-platform compatible.
b4j label as shown in B4XPagesCrossPlatformProjectsV2_1.pdf documentation is as follows:
HERE all labels are shown to be compatible across platforms
but in actual there are some properties...
My Youtube Channel Link - Please Subscribe
This video takes you through the process of creating onboarding screen on one layout without any additional libraries for beginners. Enjoy and subscribe.