Glide.with(holder.itemView)
.load(imgUrl).apply(new RequestOptions()
.transforms(new CenterCrop(), new RoundedCorners(4)))
.into(iv_goods);
<com.android.widget.SquareLayout
android:id="@+id/iv_sq"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:id="@+id/iv_goods"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="4dp" />
</com.android.widget.SquareLayout>