From wiki.ginstr.com
Jump to: navigation, search
m (XML Attributes Description)
m
Line 6: Line 6:
 
;Special Behaviours: Long click clears drawn image
 
;Special Behaviours: Long click clears drawn image
  
Widget provides ability to capture a signature. The difference between <code>[[GnCaptureSignatureEmbedded]]</code> and <code>[[GnCaptureSignature]]</code> is that <code>[[GnCaptureSignatureEmbedded]]</code> does not open new activity for signature entry and it allows a signature to be drawn directly into it on a screen containing other widgets.
+
 
 +
<code>[[GnCaptureSignatureEmbedded]]</code> provides ability to capture a signature.
 +
 
 +
The difference between <code>[[GnCaptureSignatureEmbedded]]</code> and <code>[[GnCaptureSignature]]</code> is that <code>[[GnCaptureSignatureEmbedded]]</code> does not open new activity for signature entry and it allows a signature to be drawn directly into it on a screen containing other widgets.
  
 
==XML Attributes Description==
 
==XML Attributes Description==

Revision as of 13:26, 29 June 2016

Inherited classes
View
Android class type
Button
Widget XML tag
<com.ginstr.widgets.GnCaptureSignatureEmbedded>
Special Behaviours
Long click clears drawn image


GnCaptureSignatureEmbedded provides ability to capture a signature.

The difference between GnCaptureSignatureEmbedded and GnCaptureSignature is that GnCaptureSignatureEmbedded does not open new activity for signature entry and it allows a signature to be drawn directly into it on a screen containing other widgets.

XML Attributes Description

Attribute Description
gn:s_overlayText Displays text in the middle of the widget

gn:s_overlayText

Displays text in the middle of the widget. As soon as the user starts drawing on the widget, text is cleared. If user long clicks and resets the drawing, the text reappears.