lguipeng / BubbleView

Bubble View

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BubbleTextView 超出屏幕边距

YunlongYang opened this issue · comments

`

<com.github.library.bubbleview.BubbleTextView
    android:id="@+id/text_view_content"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="Hello BubbleTextViewAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
    android:padding="10dp"
    android:layout_marginLeft="8dp"
    android:textColor="@android:color/white"
    app:arrowWidth="8dp"
    app:angle="8dp"
    app:arrowHeight="10dp"
    app:arrowPosition="14dp"
    app:arrowLocation="right"
    app:arrowCenter="true"
    app:bubbleColor="#7EC0EE"/>

<de.hdodenhof.circleimageview.CircleImageView
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/profile_image"
    android:layout_width="56dp"
    android:layout_height="56dp"
    android:src="@drawable/chat_user"
    app:civ_border_width="1dp"
    app:civ_border_color="#7EC0EE"
    android:layout_marginRight="8dp"
    android:layout_marginLeft="4dp"/>

`

qq 20171101151116

I should use RelativeLayout here, and it performs well.