B4J Question Gravity in B4J?

boten

Active Member
Licensed User
Longtime User
Just started on B4J.
Is there an equivalent of imageview.GRAVITY?

I want to add an imageview to a form, set it's size by setsize(,) and FILL it with an image read from assets.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Uncheck the preserve ratio option:
SS-2015-12-06_09.43.36.png


Note that you can set the image as the background of a pane and then it will have more gravity options:
SS-2015-12-06_09.44.25.png
 
Upvote 0
Top