From wiki.ginstr.com
Jump to: navigation, search
(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> Category:Widget_Library ;Inherited classes: <code>[http://developer.android.com/reference/android/vi...")
 
m (XML Attributes Description)
Line 13: Line 13:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| title="Attribute" | <code>[[#android:background]]</code>
+
| title="Attribute" | <code>[[#android:background|android:background]]</code>
 
| title="Description" | Defines background image for the <code>[[GnCaptureSignature]]</code> button
 
| title="Description" | Defines background image for the <code>[[GnCaptureSignature]]</code> button
 
|-
 
|-
| title="Attribute" | <code>[[#android:setBackgroundPressed]]</code>
+
| title="Attribute" | <code>[[#android:setBackgroundPressed|android:setBackgroundPressed]]</code>
 
| title="Description" | Defines background image for the <code>[[GnCaptureSignature]]</code> button when pressed
 
| title="Description" | Defines background image for the <code>[[GnCaptureSignature]]</code> button when pressed
 
|}
 
|}

Revision as of 17:16, 28 June 2016

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

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.

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