xujiaji/HappyBubble

自定义布局时,如何设置边距

protectedMan opened this issue · 3 comments

image
气泡区域好像有一个padding

O__O "…没有提供设置边距的接口,目前只有xml属性bubblePadding设置BubbleLayout的方式

    <com.xujiaji.happybubble.BubbleLayout
        android:id="@+id/bubbleLayout"
        android:layout_width="match_parent"
        android:layout_height="200dp"
        android:layout_margin="16dp"
        app:bubblePadding="8dp"
        app:lookAt="left"
        app:lookLength="16dp"
        app:lookPosition="20dp"
        app:lookWidth="16dp" />

好吧,文档不怎么完善,好多方法和属性都没有注释,这边建议完善一下呢亲。

确实不完善,话说,这些属性在文档最后面都有说明的哦!