On Wed, Apr 27, 2011 at 10:31 AM, Neilz <[email protected]> wrote: > Hi all. > > I want to create a shape drawable, in the style of a rounded > rectangle. However I want the background (the section outside the > rounded corners) to be white, and the main central section (within the > rounded corners) to be transparent. > > Effectively, you can imagine this working like a picture frame. Is > this possible? > > Many thanks.
I am not sure whether you could achieve this using ShapeDrawable, but you definitely could do this using NinePatchDrawable. -- Daniel Drozdzewski -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

