Попробуйте
Добавить макет XML:
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="1dp"
android:id="@+id/lay_profpic"
android:layout_gravity="center"
android:layout_margin="20dp"
android:background="@drawable/border_circle">
<ImageView
android:id="@+id/profile_picture"
android:scaleType="centerCrop"
android:layout_centerHorizontal="true"
android:src="@color/white"
android:layout_gravity="center"
android:layout_width="90"
android:layout_height="90dp" />
</RelativeLayout>
Добавить код Java используйте Glide
Glide.with(this)
.load(user.getProfilePicture())
.transform(new CircleTransform(this))
.into(new GlideDrawableImageViewTarget(ivProfilePicture) {
@Override
public void onResourceReady(GlideDrawable drawable, GlideAnimation anim) {
super.onResourceReady(drawable, anim);
ivProfilePicture.setImageDrawable(drawable);
ivProfilePicture.invalidate();
ivProfilePicture.requestLayout();
}
});