From wiki.ginstr.com
Jump to: navigation, search

gn:act_setSrcImage

Description
Action used to change image drawable for specified GnImageView widget.
Action returns
void

Action signatures

Change image

[gn:act_setSrcImage]|[drawable;target]
Parameter Description
drawable source from where image will be taken
target target where the image will be changed

Example

@drawable/logo - drawable
@+id/imgLogo - GnImageView
[gn:act_setSrcImage]|[@drawable/logo;@+id/imgLogo]