From wiki.ginstr.com
Jump to: navigation, search

GnCaptureSignature

Widget XML tag
<com.ginstr.widgets.GnCaptureSignature>
Description
GnCaptureSignature inherits regular Android Button widget.
It provides the ability to capture a signature. After a signature is entered, an image of it is saved to the device into the folder userData and a path to the folder is kept in the widget.

XML Attributes Description

none

Events

gn:act_setClick
gn:act_setLongClick
gn:act_setAfterSignatureTaken

Data types

Input
text
signature
Output
signature

Events

gn:act_setAfterSignatureTaken

Example

<com.ginstr.widgets.GnCaptureSignature
  android:id="@+id/containerRentingAndReturn_signatureRented"
  android:layout_width="match_parent"
  android:layout_height="wrap_content" />