any clue, how to resolve this problem
On Jul 3, 6:14 pm, Casper wrote:
> Hi
>
> thanks for the reply.
>
> i even tried that.
> Interesting part is, except cavas.drawText for drawing text any other
> paint call is working. if you try by your self, you will see the same
> thing happening.
> i adde
Hi
thanks for the reply.
i even tried that.
Interesting part is, except cavas.drawText for drawing text any other
paint call is working. if you try by your self, you will see the same
thing happening.
i added a statement for canvas.drawLine(); this is working on every
call. But canvas.drawText i
I tried removing canvas.restore(), but its the same behaviour. Must be
something else is wrong.
i added an another statement for testing purpose canvas.drawLine, and
it is working as expected, but not drawText. I don't know the reason
why the first time it is working and from second time on, its
you're calling canvas.restore() which clears out all changes since the
last call of canvas.save()
I'd try taking out that line.
On Jul 2, 8:57 pm, Casper wrote:
> public class TCheckBox extends CheckBox{
> public void onDraw(Canvas canvas){
>
> Paint tTextPaint = new Paint();
>
4 matches
Mail list logo