我想要是把我的ImageView塑造这样形状图像
我使用这个库
https://github.com/siyamed/android-shape-imageview
我能加边框半径就可以了,但我的问题是 我不知道如何添加一个箭头,而在它添加边框半径
我想要是把我的ImageView塑造这样形状图像
我使用这个库
https://github.com/siyamed/android-shape-imageview
我能加边框半径就可以了,但我的问题是 我不知道如何添加一个箭头,而在它添加边框半径
使用这种app:siArrowPosition="right"
: - >siArrowPosition哪里指向箭头,目前左|右
使用这种app:siRadius="6dp"
: - 在DP>圆角半径 和dpfor边境 app:siBorderWidth="6dp"
边框宽度
<com.github.siyamed.shapeimageview.BubbleImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/neo"
app:siRadius="6dp"
app:siBorderWidth="6dp"
app:siArrowPosition="right"
app:siSquare="true"/>
怎么样就可以添加边框半径?我的意思是边界readius也在哪里呢?您添加箭头 – Beginner
@Beginner检查更新ANS –
推荐会查看[掩蔽在帧(作物)图像(https://stackoverflow.com/questions/12614542/maskingcrop-image-in-frame)。 – Tigger