Open SagarPanwala opened 8 years ago
Hi Friend,
I hope there is a answer of my Question. I want to change Mode, Drawer, PaintStrokeWidth on button click. Currently I wrote the code
btn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { canvas.setMode(CanvasView.Mode.ERASER); } });
but it is not changing the mode to Eraser.
Hi Friend,
I hope there is a answer of my Question. I want to change Mode, Drawer, PaintStrokeWidth on button click. Currently I wrote the code
btn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { canvas.setMode(CanvasView.Mode.ERASER); } });
but it is not changing the mode to Eraser.