From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
(No difference)

Revision as of 13:00, 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" />