自定义布局时,如何设置边距
protectedMan opened this issue · 3 comments
protectedMan commented
xujiaji commented
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" />
protectedMan commented
好吧,文档不怎么完善,好多方法和属性都没有注释,这边建议完善一下呢亲。
xujiaji commented
确实不完善,话说,这些属性在文档最后面都有说明的哦!