动态改变ImageView图片的大小

ImageView中加入android:scaleType="fitXY" ,考虑到此属性可能会造成当前UI有所变形,所以在使用的时候需要限制ImageView所在的层。

猜你喜欢

转载自blog.csdn.net/a75784326/article/details/88363791