ImageView: adjustViewBounds does not work with layout_height=“fill_parent”?

后端 未结 2 606
醉话见心
醉话见心 2021-02-07 11:18

I\'m trying to place in single row the EditText with the ImageView on the left. But I can\'t get the image to be scaled properly to match the height of

2条回答
  •  广开言路
    2021-02-07 11:48

    you can also put gravity to be centered on the linear layout

    NOTE: that you should also have different images in drawables-hdpi/ldpi and mdpi

提交回复
热议问题