Closed GoogleCodeExporter closed 9 years ago
The fix to this appears to be straightforward. Change the following lines:
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) {
//appendElementString(parsed, namespaceURI, localName, qName, atts);
// Log.d(TAG, localName + showAttributes(atts));
// Reset paint opacity
strokePaint.setAlpha(255);
fillPaint.setAlpha(255);
// Ignore everything but rectangles in bounds mode
if (boundsMode) {
if (localName.equals("rect")) {
To this:
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) {
//appendElementString(parsed, namespaceURI, localName, qName, atts);
// Log.d(TAG, localName + showAttributes(atts));
// Reset paint opacity
if (!strokeSet) {
strokePaint.setAlpha(255);
}
if (!fillSet) {
fillPaint.setAlpha(255);
}
// Ignore everything but rectangles in bounds mode
if (boundsMode) {
if (localName.equals("rect")) {
Original comment by sc...@mobiata.com
on 10 Feb 2012 at 7:53
fixed
Original comment by suh...@google.com
on 30 Sep 2013 at 3:57
update status
Original comment by suh...@google.com
on 3 Jan 2014 at 11:28
Original issue reported on code.google.com by
sc...@mobiata.com
on 10 Feb 2012 at 7:52