margret Well-Known Member Licensed User Longtime User Aug 16, 2011 #1 I have an app I just finished using B4A 1.5. Everything works and has been tested many times. I upgraded to 1.6 and again eveything runs fine but the ImageView that is attached to each record now stretches the images if they are not in a 4.3 ratio. In 1.5 it would resize the width and keep the image looking normal. I load the ImageView with BitMapSample. Is there a known reason the ImageView acts different under the two version? Thanks, Margret
I have an app I just finished using B4A 1.5. Everything works and has been tested many times. I upgraded to 1.6 and again eveything runs fine but the ImageView that is attached to each record now stretches the images if they are not in a 4.3 ratio. In 1.5 it would resize the width and keep the image looking normal. I load the ImageView with BitMapSample. Is there a known reason the ImageView acts different under the two version? Thanks, Margret
Erel B4X founder Staff member Licensed User Longtime User Aug 17, 2011 #2 V1.6 fixed a bug related to ImageView, which "forgot" the gravity settings when assigned a new bitmap. As of v1.6 ImageView keeps the same gravity. You can set the Gravity property to be as you need it (from the designer or by code). Upvote 0
V1.6 fixed a bug related to ImageView, which "forgot" the gravity settings when assigned a new bitmap. As of v1.6 ImageView keeps the same gravity. You can set the Gravity property to be as you need it (from the designer or by code).