Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SignatureLib

Library for creating signature view on screen

Include the following view in xml and you are ready to get the signature view in your xml.

<com.raos.signature.Signature
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

Clearing the canvas for re-signing: clear() method clear the witten signature on the canvas.

import com.raos.signature.Signature;

void clear() {
  mSignatureView.clear();
}

Saving the signature to a file.

/**
 * 
 * @param signatureView - Signature view which is included in xml.
 * @param filePath - File path to which the signature should be savde to.
 */
void save(View signatureView, String filePath) {
  mSignatureView.save(signatureView, filePath);
}

Releases

Packages

Contributors

Languages