圆角图片无法显示
具体表现什么样的?圆角应该是你自己控制的,应该跟这个库没关系啊
就是我的MZViewHolder中设置的VIew为
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:id="@+id/banner_image" android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="centerInside" android:layout_marginLeft="4dp" android:layout_marginRight="4dp"/>
这样一个布局。 我在读取imageview时设置了圆角。但是显示出来还是直角的
遇到了同样的问题
+1
在ImageView外层套一个CardView 设置圆角大小为10

+1,用Glide4.8加载圆角图片还不行,用楼上的ImageVIew外层包了一层CardView才解决

@AwaiTYu Glide 记得先centerCrop,再圆角设置