Skip to content

Android library to display a few images in one ImageView like avatar of group chat. Made by Stfalcon

Notifications You must be signed in to change notification settings

martipello/MultiImageView

 
 

Repository files navigation

I forked this library to carry on it's development, I've extended the examples to include a recycler view example, the shape and corner radius can now be set from xml,

to create the image view in xml

<com.stfalcon.multiimageview.MultiImageView
    android:id="@+id/iv"
    android:layout_width="100dp"
    android:layout_height="100dp"
    app:shape="rectangle"
    app:corner_radius="60" />

Image description

Image description

to add an image use

multiImageView.addImage(BitmapFactory.decodeResource(getResources(), R.drawable.avatar1));

to clear images use

multiImageView.clear();

the corner radius only applys to the rectangle shape other wise it will be ignored you can set this in xml or programmatically

Image description

About

Android library to display a few images in one ImageView like avatar of group chat. Made by Stfalcon

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 89.7%
  • Java 10.3%