圆角 ImageView 在开发中使用的频率很高,我用的是 https://github.com/SheHuan/NiceImageView ,支持的样式较多,但是当我的需求出现 ImageView 高度定死宽度 wrapContent 时圆角设置无效,最后通过尝试加了
android:adjustViewBounds="true"
生效,具体原因还在研究。
圆角 ImageView 在开发中使用的频率很高,我用的是 https://github.com/SheHuan/NiceImageView ,支持的样式较多,但是当我的需求出现 ImageView 高度定死宽度 wrapContent 时圆角设置无效,最后通过尝试加了
android:adjustViewBounds="true"
生效,具体原因还在研究。