From wiki.ginstr.com
Jump to: navigation, search
(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> Category:Widget_Library ;Inherited classes: <code>[http://developer.android.com/reference/android/vi...")
 
m (XML Attributes Description)
Line 14: Line 14:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| title="Attribute" | <code>[[#gn:s_overlayText]]</code>
+
| title="Attribute" | <code>[[#gn:s_overlayText|gn:s_overlayText]]</code>
 
| title="Description" | Displays text in the middle of the widget
 
| title="Description" | Displays text in the middle of the widget
 
|}
 
|}

Revision as of 17:17, 28 June 2016

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

Widget 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.