android/src/main/java/com/rssignaturecapture/RSSignatureCaptureMainView.java
@Override
	public void onClick(View v) {
		String tag = v.getTag().toString().trim();

		// save the signature
		if (tag.equalsIgnoreCase("save")) {
			this.saveImage();
		}

		// empty the canvas
		else if (tag.equalsIgnoreCase("Reset")) {
			this.signatureView.clearSignature();
		}
	}
// the on click listener of 'save' and 'clear' buttons
the on click listener of 'save' and 'clear' buttons
the on click listener of ' save ' and ' clear ' buttons
@Override
	public void onClick(View v) {
		String tag = v.getTag().toString().trim();
		if (tag.equalsIgnoreCase("save")) {
			this.saveImage();
		}
		else if (tag.equalsIgnoreCase("Reset")) {
			this.signatureView.clearSignature();
		}
	}
@ Override public void onClick ( View v ) { String tag = v . getTag ( ) . toString ( ) . trim ( ) ; if ( tag . equalsIgnoreCase ( "save" ) ) { this . saveImage ( ) ; } else if ( tag . equalsIgnoreCase ( "Reset" ) ) { this . signatureView . clearSignature ( ) ; } }
the on click listener of 'save' and 'clear' buttons
the on click listener of ' save ' and ' clear ' buttons
// save the signature // empty the canvas