There was a previous post about this where you add round corners on an ImageView widget. That code can only be used programmatically so to be able to do the same thing within an XML file, a custom class has to be made in order for this to work.

User Devunwired of StackOverflow had made a custom class that works seamlessly and easily incorporate it in your XML.

To use it in XML, simply do it like this:

Related Posts Plugin for WordPress, Blogger...