From wiki.ginstr.com
Jump to: navigation, search
m
Line 1: Line 1:
 +
<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: [http://developer.android.com/reference/android/view/View.html View]
Line 16: Line 17:
 
|}
 
|}
  
==gn:rotation==
+
===gn:rotation===
  
 
Sets rotation angle
 
Sets rotation angle
Line 22: Line 23:
 
(Float) values = <code>-90.0</code> to <code>+90.0</code>
 
(Float) values = <code>-90.0</code> to <code>+90.0</code>
  
==gn:setBackgroundPressed==
+
===gn:setBackgroundPressed===
  
 
Sets pressed background image for [http://developer.android.com/reference/android/widget/ImageView.html ImageView].
 
Sets pressed background image for [http://developer.android.com/reference/android/widget/ImageView.html ImageView].

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