My image layout is in my layout now if I set a new image on it that changes the image view from the old Size is big. How can I avoid it?
specify The option to scale the threshold of an image to the extent of this view. < / Div> layout_height and
layout_width < Code> Parameter and
ScaleType parameter.
Android: Image = "id =" @ + id / my_imageView "Android: layout_width =" @ Dimen / my_image_width "android: layout_height =" @ dimen / my_image_height "Android: scaleType =" fitXY
No comments:
Post a Comment