Closed GoogleCodeExporter closed 9 years ago
I have this problem as well, when trying to overlay
buttons\seekbars\slidingdrawer on graph.
Currently I invalided the GraphicalView after any operation on the buttons.
I would really be happy to get a better way to do so.
Original comment by niro...@gmail.com
on 8 Sep 2011 at 7:01
I think the problem is in the way onDraw is done on GraphicalView.
I also think it can be fix by replacing the call of
"canvas.getClipBounds(mRect)" to "getDrawingRect(mRect)".
Best regards,
Nir Ofry
Original comment by niro...@gmail.com
on 27 Oct 2011 at 1:32
With #2 the repaint problem in "normal" charts seems to be solved BUT with the
mentioned modification the charts in my widgets are not visible anymore!
Now i changed the following that seems to solve both topics (a) repaint problem
and (b) correct widget output:
GraphicalView.onDraw(Canvas canvas) {
.
.
.
invalidate(left,top,left+width,top+height);
}
The line "invalidate(left,top,left+width,top+height);" did the trick for me.
Thanks and Regards
Michael
Original comment by michael....@gmail.com
on 27 Oct 2011 at 2:49
Hard to say which solution is best here.
Try to do: renderer.setInScroll(true); and let me know if it fixes this issue.
Original comment by dandrome...@gmail.com
on 5 Jan 2012 at 4:05
renderer.setInScroll(true); fixes these issues.
Original comment by dandrome...@gmail.com
on 10 Jan 2012 at 8:21
Original issue reported on code.google.com by
michael....@gmail.com
on 29 Aug 2011 at 7:00Attachments: