1 답변
-
찾아보니까 bubbles-for-android라고 오픈소스가 있네요. https://github.com/txusballesteros/bubbles-for-android
사용방법은 build.gradle에
dependencies { ... compile 'com.txusballesteros:bubbles:1.2.1' }
이렇게 해주시고
<com.txusballesteros.bubbles.BubbleLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content"> <ImageView android:id="@+id/avatar" android:layout_width="70dp" android:layout_height="70dp" android:layout_gravity="center" android:background="@drawable/profile_decorator" android:src="@drawable/profile" android:scaleType="centerCrop"/> </com.txusballesteros.bubbles.BubbleLayout>
이런식으로 쓰시면 됩니다. 자세한거는 관련 링크를 참고하세요.
댓글 입력