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:Widgets]]
 
[[Category:Widgets]]
;Inherited classes: [http://developer.android.com/reference/android/view/View.html View]
+
;Inherited classes: <code>[http://developer.android.com/reference/android/view/View.html View]</code>
;Android class type: Android [http://developer.android.com/reference/android/widget/ImageView.html ImageView] 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==

Revision as of 16:40, 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