iOS Question Filling the screen with an image view

Sanxion

Active Member
Licensed User
Longtime User
Hi all

In B4A, I use the following to fill the screen with an image view:

myImageView.Height = Activity.Height
myImageView.Width = Activity.Width

What is the B4i equivalent?

Thanks
 
The correct way to fill the screen with an image view is using anchors (in all platforms):

SS-2016-05-03_11.35.30.png


[B4X] Anchors Demonstrated
 
Upvote 0
Back
Top