From wiki.ginstr.com
Jump to: navigation, search
m
m
Line 6: Line 6:
  
  
<code>[[GnImageView]]</code> is <code>[http://developer.android.com/reference/android/widget/ImageView.html ImageView]</code> with some additional features.
+
<code>[http://developer.android.com/reference/android/widget/ImageView.html ImageView]</code> with some additional features.
 
==XML Attributes Description==
 
==XML Attributes Description==
 
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"

Revision as of 13:25, 29 June 2016

Inherited classes
View
Android class type
ImageView
Widget XML tag
<com.ginstr.widgets.GnImageView>


ImageView with some additional features.

XML Attributes Description

Attribute Description
gn:rotation Sets rotation angle
gn:setBackgroundPressed Sets pressed background image for ImageView. It can also be used on standard ImageView

gn:rotation

Sets rotation angle

(Float) values = -90.0 to +90.0

gn:setBackgroundPressed

Sets pressed background image for ImageView. It can also be used on standard ImageView

(Drawable) values = @drawable/nameOfImageFile