0
Q:

Android multiimage view

final MultiImageView multiImageView = (MultiImageView) findViewById(R.id.iv);
0
<com.stfalcon.multiimageview.MultiImageView
        android:id="@+id/iv"
        android:layout_width="100dp"
        android:layout_height="100dp"/>
0
compile 'com.github.stfalcon:multiimageview:0.1'
0
multiImageView.setShape(MultiImageView.Shape.RECTANGLE);//Rectangle with round corners
multiImageView.setShape(MultiImageView.Shape.CIRCLE);//Circle
multiImageView.setShape(MultiImageView.Shape.NONE);//Without shape
0
multiImageView.addImage(BitmapFactory.decodeResource(getResources(), R.drawable.avatar1));
0

New to Communities?

Join the community