From wiki.ginstr.com
Jump to: navigation, search
m (XML Attributes Description)
Line 5: Line 5:
 
;Widget XML tag: <code><com.ginstr.widgets.GnCaptureSignature></code>
 
;Widget XML tag: <code><com.ginstr.widgets.GnCaptureSignature></code>
  
Widget 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.
+
 
 +
<code>[[GnCaptureSignature]]</code> 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==
 
==XML Attributes Description==

Revision as of 12:25, 29 June 2016

Inherited classes
View
Android class type
Button
Widget XML tag
<com.ginstr.widgets.GnCaptureSignature>


GnCaptureSignature 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

Attribute Description
android:background Defines background image for the GnCaptureSignature button
android:setBackgroundPressed Defines background image for the GnCaptureSignature button when pressed

android:background

Defines background image for the GnCaptureSignature button

(String) value = @drawable/imageId

android:setBackgroundPressed

Defines background image for the GnCaptureSignature button when pressed

(String) value = @drawable/imageId