RoundedImageView
A fast ImageView that supports rounded corners, ovals, and circles
...There are many ways to create rounded corners in android, but this is the fastest and best one that I know of because it does not create a copy of the original bitmap, does not use a clipPath which is not hardware accelerated and not anti-aliased, does not use setXfermode to clip the bitmap and draw twice to the canvas. RoundedImageView is available in Maven Central. Borders are not scaled up/down with the image (correct width and radius are maintained). Support for LayerDrawables (including TransitionDrawables). Licensed under the Apache License.