goldenXcode / skylight1

Automatically exported from code.google.com/p/skylight1
0 stars 0 forks source link

Border text doesn't work with backgrounds #101

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a border text element
2. Specify a drawable resource for the background

What is the expected output? What do you see instead?
I expected bordered text, I got only the original text.

All of the drawables for the textview are being shadowed, not just the text, so 
the background draws over the shadow for the text.

I solved it by allowing the parent to draw first, and then only drawing the 
text over it, like in the attached file.  I also suggest that you decouple the 
font business from the outlining.

Original issue reported on code.google.com by IZach.Ja...@gmail.com on 11 Apr 2011 at 4:59

Attachments: