Signature
layout is completed in layout file. If there is background, setting method need
to be explicitly called in activity.
The
method isValid() is used to determine whether signed or not. If signed, return
true. If not, return false. The method getCacheBitmap() is used to get the
bitmap of signature.