Newbie alert here!
I am trying to learn the best way to draw a custom border around an image (e.g. a picture frame) that is comprised of 8 bitmaps- 4 corners + 4 sides that are actually slices that need to be repeated depending on the view size. I understand the best way will be to use a FrameView but I'm not sure about the drawing part, for example how to do the repeating for the images along the sides? Can this be done in XML or do I need to handle OnDraw()? Or should I look at using a 9 patch?
There must be an example somewhere.