Android Question B4XImageView : in B4J, resizing a view autoscales the bitmap, in B4A, it does not

TelKel81

Active Member
Licensed User
B4J/B4A have same code and designer layout.

In B4A, is there a way to obtain the same result as in B4J, without having to "set again" the bitmap when the view's width/height is changed ?
 

Sagenut

Expert
Licensed User
Longtime User
Try calling
B4X:
B4XImageView.Update
After the resize.
 
Upvote 0

TelKel81

Active Member
Licensed User
My mistake. I had multiple layers of views and I was not resizing the one that contained the image. Case closed !
 
Upvote 0
Top