circular image view in android code example

Example 1: circle imageview dependency in android

implementation 'de.hdodenhof:circleimageview:3.1.0'

Example 2: 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"/>

Tags:

Java Example