The Question : 661 people think this question is useful How can I set an ImageView‘s width and height programmatically? The Question Comments : Footnote for anyone struggling with this coming from another platform. the “size and shape to fit” option is handled beautifully in Android; but it’s hard to find. you typically want width