It looks like most of this comes from http://stackoverflow.com/questions/18229358/bitmap-in-imageview-with-rounded-corners. If I'm right it would be great to include a link so we can look back at the original source. It also looks like it's possible to do this a bit more efficiently using a BitmapShader. Check out Romain guy's blog post on how to do this: http://www.curious-creature.org/2012/12/11/android-recipe-1-image-with-rounded-corners/