m |
m |
||
Line 11: | Line 11: | ||
|- | |- | ||
| title="Attribute" | <code>[[#gn:rotation]]</code> | | title="Attribute" | <code>[[#gn:rotation]]</code> | ||
− | | title="Description" | | + | | title="Description" | Sets rotation angle |
|- | |- | ||
| title="Attribute" | <code>[[#gn:setBackgroundPressed]]</code> | | title="Attribute" | <code>[[#gn:setBackgroundPressed]]</code> | ||
− | | title="Description" | | + | | title="Description" | 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] |
|} | |} | ||
Revision as of 16:42, 28 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