m |
m |
||
Line 4: | Line 4: | ||
;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> with some additional features. | ||
;Widget XML tag: <code><com.ginstr.widgets.GnImageView></code> | ;Widget XML tag: <code><com.ginstr.widgets.GnImageView></code> | ||
− | == | + | ==XML Attributes Description== |
{| class="wikitable sortable" style="font-size: 85%; text-align: left;" | {| class="wikitable sortable" style="font-size: 85%; text-align: left;" | ||
|- | |- | ||
Line 17: | Line 17: | ||
|} | |} | ||
− | + | ==gn:rotation== | |
− | |||
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== | |
− | |||
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]. | ||
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 13:57, 24 June 2016
- Inherited classes
View
- Android class type
ImageView
with some additional features.- Widget XML tag
<com.ginstr.widgets.GnImageView>
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