1.添加依赖
implementation 'de.hdodenhof:circleimageview:2.2.0'
2.
<de.hdodenhof.circleimageview.CircleImageView
android:src="@drawable/touxiang"
android:layout_centerInParent="true"
android:layout_width="70dp"
android:layout_height="70dp" />