m |
m |
||
Line 21: | Line 21: | ||
Sets rotation angle | Sets rotation angle | ||
− | (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=== | ||
Line 28: | Line 28: | ||
It can also be used on standard [http://developer.android.com/reference/android/widget/ImageView.html ImageView] | It can also be used on standard [http://developer.android.com/reference/android/widget/ImageView.html ImageView] | ||
− | (Drawable) values = <code>@drawable/nameOfImageFile</code> | + | ''(Drawable)'' values = <code>@drawable/nameOfImageFile</code> |
Revision as of 17:37, 23 June 2016
- Inherited classes
View
- Android class type
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