android - Circular image: alternative to setClipToOutline for pre 21 -


i seeking way create circular images without 3rd party libraries.

i found this post asked same had 0 answers.

in apis post/equal 21 (5.1), usesetcliptooutline method on view (because there bug android:cliptooutline isn't working in xml) , add circular shaped drawable background imageview, app must support version 19 (4.4) onwards.

is there feature allows me achieve this? maybe, in support library?

thanks.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -