m |
m (→XML Attributes Description) |
||
Line 10: | Line 10: | ||
! scope="col" | Description | ! scope="col" | Description | ||
|- | |- | ||
− | | title="Attribute" | <code>[[#gn:rotation]]</code> | + | | title="Attribute" | <code>[[#gn:rotation|gn:rotation]]</code> |
| title="Description" | Sets rotation angle | | title="Description" | Sets rotation angle | ||
|- | |- | ||
− | | title="Attribute" | <code>[[#gn:setBackgroundPressed]]</code> | + | | title="Attribute" | <code>[[#gn:setBackgroundPressed|gn:setBackgroundPressed]]</code> |
| 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] | | 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 17:12, 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