I’m stuck with it I can not find how to round profile pics like this and than I don’t know how to constraint my my 3 text views basically I’m trying to create something like this
Screenshot of what I’m trying to say
The problem in the above screenshot (which is of a tutorial on youtube) he used vector asset as an profile but I want to use jgp files and than round it and constraint my 3 textviews accordingly like I said.
I would love some help. Thanks.
3
Answers
You can try these libraries
CircleImageView
or
RoundedImageView
According to your requirements
Try ShapeableImageView in your android project.
To use above view in android, you need to add dependency material design 1.2.0 or higher.
In your style.xml add,
In your layout file , add this view
Result
You can either make the shapes yourself in the drawable folder which is a lot of work or use third party libraries like hdodenhof/CircleImageView.
I recommend using the third party library so that you can access it in your xml layouts like any other components