I need to create a dynamic Ribbon View to overlay multiple images for promotional purposes. Example (Sorry about the image, my Paintbrush skills are negligible):
Example ImageView with Ribbon overlay
Where the grey box is my image and the orange strip with text is the ribbon.
After some research, my gut feel is to Extend a TextView, set the background as the ribbon colour, set the text, rotate using canvas, resize using recursion and somehow clipping the textview so the ribbon background colour goes all the way to the edges of the image below.
If all else fails, I will use 9-patch images, but am concerned in regards to the text resizing.
Any pointers/code snippets would be greatly appreciated, Thanks!