我正在尝试使ImageView
的一个圆角像下面的图片一样,但右下角。尝试使用背景形状,但根本无法使用。 Glide加载的所有图像。我应该使用ViewOutlineProvider
之类的东西吗?有没有有效的方法可以做到这一点?谢谢!
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<corners
android:radius="2dp"
android:bottomRightRadius="20dp"
android:bottomLeftRadius="0dp"
android:topLeftRadius="0dp"
android:topRightRadius="0dp"/>
</shape>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/gray" />
<corners android:topRightRadius="50dp" />
</shape>