From wiki.ginstr.com
Jump to: navigation, search
m (XML Attributes Description)
m
Line 2: Line 2:
 
[[Category:Widget_Library]]
 
[[Category:Widget_Library]]
 
;Inherited classes: <code>[http://developer.android.com/reference/android/view/View.html View]</code>
 
;Inherited classes: <code>[http://developer.android.com/reference/android/view/View.html View]</code>
;Android class type: <code>[http://developer.android.com/reference/android/widget/ImageView.html ImageView]</code> with some additional features.
+
;Android class type: <code>[http://developer.android.com/reference/android/widget/ImageView.html ImageView]</code>
 
;Widget XML tag: <code><com.ginstr.widgets.GnImageView></code>
 
;Widget XML tag: <code><com.ginstr.widgets.GnImageView></code>
 +
 +
 +
<code>[[GnImageView]]</code> is <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 12:19, 29 June 2016

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


GnImageView is 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