Resize View

junaidahmed

Well-Known Member
Licensed User
Longtime User
How to resize all view programatically for different device resolution.pls advise and send me sample code.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
If you use 'dip' when you specify sizes of views then those sizes will be scaled automatically. This means that if you create a layout for a phone sized device then it will look fine on all phone sized devices.
This is also true for layouts created with the visual designer.

You will usually need to create multiple layout variants with the visual designer and the abstract designer.
See this tutorial for more information: Guess my number - Visual designer & Events
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…