Line 1: | Line 1: | ||
− | |||
[[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] | ||
− | ;Android class type: [http://developer.android.com/reference/android/widget/ImageView.html ImageView] | + | ;Android class type: Android [http://developer.android.com/reference/android/widget/ImageView.html ImageView] with some additional features. |
− | + | ;Widget XML tag : <code><com.ginstr.widgets.GnImageView></code> | |
− | ;Widget | ||
==Layout Configuration== | ==Layout Configuration== | ||
− | ;<code>gn:rotation</code> | + | {| class="wikitable sortable" style="font-size: 85%; text-align: left;" |
− | + | |- | |
+ | ! scope="col" | Attribute | ||
+ | ! scope="col" | Description | ||
+ | ! scope="col" | Values | ||
+ | ! scope="col" | Value Type | ||
+ | |- | ||
+ | | title="Attribute" | <code>gn:rotation</code> | ||
+ | | title="Description" | sets rotation angle | ||
+ | | title="Values" | <code>-90.0</code> to <code>+90.0</code> | ||
+ | | title="Value Type" | Float | ||
+ | |- | ||
+ | | title="Attribute" | <code>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="Values" | <code>@drawable/nameOfImageFile</code> | ||
+ | | title="Value Type" | Drawable | ||
+ | |} |
Revision as of 13: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 | Values | Value Type |
---|---|---|---|
gn:rotation
|
sets rotation angle | -90.0 to +90.0
|
Float |
gn:setBackgroundPressed
|
sets pressed background image for ImageView. It can also be used on standard ImageView | @drawable/nameOfImageFile
|
Drawable |