Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/213.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
用箭头将图像塑造成气泡状(Android)_Android_Android Imageview_Shape - Fatal编程技术网

用箭头将图像塑造成气泡状(Android)

用箭头将图像塑造成气泡状(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

我想把我的imageview变成这样

我在用这个图书馆

我可以在上面添加边界半径,但我的问题是
我不知道如何添加箭头,同时在其上添加边框半径

使用此
应用程序: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>