From wiki.ginstr.com
Jump to: navigation, search
Line 1: Line 1:
 
<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div>
 
<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div>
<span STYLE="font-size: xx-large"><code>GnCaptureSignatureEmbedded</code></span>
+
<span STYLE="font-size: xx-large"><code>GnSignatureEmbedded</code></span>
 
[[Category:Widget_Library]]
 
[[Category:Widget_Library]]
  
 
;Widget XML tag
 
;Widget XML tag
: <code><com.ginstr.widgets.GnCaptureSignatureEmbedded></code>
+
: <code><com.ginstr.widgets.GnSignatureEmbedded></code>
  
 
;Description
 
;Description
: <code>[[GnCaptureSignatureEmbedded]]</code> inherits regular Android <code>[http://developer.android.com/reference/android/widget/View.html View]</code> widget.
+
: <code>[[GnSignatureEmbedded]]</code> inherits regular Android <code>[http://developer.android.com/reference/android/widget/View.html View]</code> widget.
 
: It 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.  
 
: It 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.  
 
: Long click clears drawn image.
 
: Long click clears drawn image.

Revision as of 13:00, 12 July 2017

GnSignatureEmbedded

Widget XML tag
<com.ginstr.widgets.GnSignatureEmbedded>
Description
GnSignatureEmbedded inherits regular Android View widget.
It 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.
Long click clears drawn image.

XML Attributes Description

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

Can be

  • hardcoded

Example

<com.ginstr.widgets.GnButton
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  gn:backgroundChecked="@drawable/fuelRed"
  gn:backgroundUnchecked="@drawable/fuelBlue" />