circular image in android studio code example
Example 1: circular imageview android
implementation 'de.hdodenhof:circleimageview:3.1.0'
<de.hdodenhof.circleimageview.CircleImageView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/profile_image"
android:layout_width="96dp"
android:layout_height="96dp"
android:src="@drawable/profile"
app:civ_border_width="2dp"
app:civ_border_color="#FF000000"/>
Example 2: android studio picasso circle image
implementation 'jp.wasabeef:picasso-transformations:2.2.1'
Picasso.with(context)
.load(url)
.transform(new CropCircleTransformation())
.into(imageview);