This question has already been answered:
- CircleImageView 1 reply
How to make a round imageView?
This question has already been answered:
How to make a round imageView?
A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .
There is a library CircleImageView . Also, some image loader can make different forms for images, for example, Fresco
Using CardView with a corner radius and ImageView inside:
<android.support.v7.widget.CardView android:layout_width="match_parent" android:layout_height="match_parent" app:cardCornerRadius="8dp" android:layout_margin="5dp" android:elevation="10dp"> <ImageView android:id="@+id/roundedImageView" android:layout_width="match_parent" android:layout_height="match_parent" android:src="@drawable/image" android:background="@color/white" android:scaleType="centerCrop" /> </android.support.v7.widget.CardView> Source: https://ru.stackoverflow.com/questions/627079/
All Articles