From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
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>GnSignatureEmbedded</code></span>
+
<span STYLE="font-size: xx-large"><code>GnCaptureSignatureEmbedded</code></span>
 
[[Category:Widget_Library]]
 
[[Category:Widget_Library]]
  
 
;Widget XML tag
 
;Widget XML tag
: <code><com.ginstr.widgets.GnSignatureEmbedded></code>
+
: <code><com.ginstr.widgets.GnCaptureSignatureEmbedded></code>
  
 
;Description
 
;Description
: <code>[[GnSignatureEmbedded]]</code> inherits regular Android <code>[http://developer.android.com/reference/android/widget/View.html View]</code> widget.
+
: <code>[[GnCaptureSignatureEmbedded]]</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.
Line 17: Line 17:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| title="Attribute" | gn:s_overlayText
+
| title="Attribute" | <code>gn:s_overlayText</code>
 
| title="Description" | Displays text in the middle of the widget
 
| title="Description" | Displays text in the middle of the widget
 
Can be
 
Can be

Revision as of 12:59, 12 July 2017

GnCaptureSignatureEmbedded

Widget XML tag
<com.ginstr.widgets.GnCaptureSignatureEmbedded>
Description
GnCaptureSignatureEmbedded 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" />