Closed sunbeams001 closed 1 year ago
left one, normal ImageView with shape clip, can auto adjust layout change
<ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="centerCrop" android:src="@drawable/main_novel" android:background="@drawable/shape_round_outline" android:outlineProvider="background" />
right one, RoundedImageView
<com.makeramen.roundedimageview.RoundedImageView android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="centerCrop" android:src="@drawable/center" app:riv_corner_radius="12dp" />
left one, normal ImageView with shape clip, can auto adjust layout change
right one, RoundedImageView