I have a floor plan which is centred in an ImageView. The aspect ratio of the image is preserved so there is some space on either side of the image (indicated in red colour).
How can I determine the width of this red space in pixels or dp?
This blog is all about Android development and problems\solutions
I have a floor plan which is centred in an ImageView. The aspect ratio of the image is preserved so there is some space on either side of the image (indicated in red colour).
How can I determine the width of this red space in pixels or dp?
0 comments:
Post a Comment