From wiki.ginstr.com
Jump to: navigation, search
m
m
Line 3: Line 3:
 
;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: Android <code>[http://developer.android.com/reference/android/widget/ImageView.html ImageView]</code> with some additional features.
 
;Android class type: Android <code>[http://developer.android.com/reference/android/widget/ImageView.html ImageView]</code> with some additional features.
;Widget XML tag : <code><com.ginstr.widgets.GnImageView></code>
+
;Widget XML tag: <code><com.ginstr.widgets.GnImageView></code>
 
==Layout Configuration==
 
==Layout Configuration==
 
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"

Revision as of 16:41, 23 June 2016

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

Layout Configuration

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