微信,QQ等聊天图片样式
Based on: https://github.com/siyamed/android-shape-imageview
效果图:
使用:
<com.github.siyamed.shapeimageview.BubbleImageView
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="图片内容"
android:adjustViewBounds="true"
android:clickable="true"
android:scaleType="fitXY"
app:siTriangleHeight="8dp"
app:siRadius="12dp"
app:siArrowPosition="right"/>