I looked it up and there's an open source called bubbles-for-android. https://github.com/txusballesteros/bubbles-for-android
For instructions on using build.gradle
dependencies {
...
compile 'com.txusballesteros:bubbles:1.2.1'
}
Like this.
<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>
You can write it like this. Please refer to the relevant link for more information.
© 2024 OneMinuteCode. All rights reserved.