From wiki.ginstr.com
Jump to: navigation, search
m
m
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>
 
[[Category:Widget_Library]]
 
[[Category:Widget_Library]]
This is a standard [http://developer.android.com/reference/android/widget/Button.html Android Button] but it's outlined here because it can use special ginstr abilities.
+
;Widget XML tag: <code><Button></code>
  
;Widget XML tag: <code><Button></code>
+
This is the standard [http://developer.android.com/reference/android/widget/Button.html Android Button] but it's outlined here because it can use special ginstr abilities.
  
 
==XML Attributes Description==
 
==XML Attributes Description==
Line 11: Line 11:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| title="Attribute" | <code>[[#gn:setBackgroundPressed]]</code>
+
| title="Attribute" | <code>[[#gn:setBackgroundPressed|gn:setBackgroundPressed]]</code>
 
| title="Description" | Sets pressed background image for Button.
 
| title="Description" | Sets pressed background image for Button.
 
|}
 
|}

Revision as of 17:06, 28 June 2016

Widget XML tag
<Button>

This is the standard Android Button but it's outlined here because it can use special ginstr abilities.

XML Attributes Description

Attribute Description
gn:setBackgroundPressed Sets pressed background image for Button.

gn:setBackgroundPressed

Sets pressed background image for Button.

(Drawable) values = @drawable/nameOfImageFile