我想要是把我的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