用箭头将图像塑造成气泡状(Android)
我想把我的imageview变成这样 我在用这个图书馆 我可以在上面添加边界半径,但我的问题是用箭头将图像塑造成气泡状(Android),android,android-imageview,shape,Android,Android Imageview,Shape,我想把我的imageview变成这样 我在用这个图书馆 我可以在上面添加边界半径,但我的问题是 我不知道如何添加箭头,同时在其上添加边框半径使用此应用程序:siArrowPosition=“right”:->siArrowPosition指向箭头的位置,当前为左|右 使用此应用程序:siRadius=“6dp”:->dp中的角半径 和 app:siBorderWidth=“6dp”dpfor border中的边框宽度 <com.github.siyamed.shapeimageview
我不知道如何添加箭头,同时在其上添加边框半径使用此
应用程序:siArrowPosition=“right”
:->siArrowPosition指向箭头的位置,当前为左|右
使用此应用程序:siRadius=“6dp”:->dp中的角半径
和
app:siBorderWidth=“6dp”
dpfor border中的边框宽度
<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"/>
检查它以获得这种气泡视图
建议您检查。在其上添加边界半径如何?我的意思是边境在哪里?你添加了箭头
<com.github.florent37.shapeofview.shapes.BubbleView
android:layout_width="150dp"
android:layout_height="150dp"
app:shape_bubble_arrowHeight="10dp"
app:shape_bubble_arrowWidth="10dp"
app:shape_bubble_arrowPosition="bottom"
app:shape_bubble_borderRadius="20dp"
app:arrow_posititon_percent="0.5"
>
<!-- YOUR CONTENT -->
</com.github.florent37.shapeofview.shapes.BubbleView>