Android Question [Solved] SetLayoutAnimated - Different behavior between B4J and B4A

Erel

B4X founder
Staff member
Licensed User
Longtime User
This will work better (in FILL mode):
B4X:
xImageView.mBase.SetLayoutAnimated(Duration, NewLeft, NewTop, NewWidth, NewHeight)
 xImageView.mBase.GetView(0).SetLayoutAnimated(Duration, 0, 0, NewWidth, NewHeight)

In B4J the resize event is raised and it causes the internal ImageView to be updated when the base panel is resized. There is no similar event in B4A.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…