I am seeking a way to create circular images without 3rd party libraries.
I found this post that asked the same but had 0 answers.
In APIs post/equal to 21 (5.1), I usesetClipToOutline
method on a view (because there is a bug where android:clipToOutline
isn't working in the XML) and add a circular shaped drawable as background to the ImageView
, but the app must support version 19 (4.4) onwards.
Is there any feature that allows me to achieve this? Maybe, in the support library?
Thanks.