dependencies { implementation 'de.hdodenhof:circleimageview:3.1.0' } <de.hdodenhof.circleimageview.CircleImageView android:id="@+id/profile_image" android:layout_width="120dp" android:layout_height="120dp" android:src="@drawable/avatar" app:civ_border_width="2dp" app:civ_border_color="#FF000000"/> CircleImageView profileImage = findViewById(R.id.profile_image); Glide.with(this).load(R.drawable.avatar).into(profileImage);


上一篇:
下一篇:
切换中文