Android ImageView changes background image -


how can make imageview button change background image?

like hit imageview button , background changes set to

you've got lots of methods it

imageview i;     i.setimagebitmap(bm);     i.setimagedrawable(drawable);     i.setimageresource(resid); 

all need check documentation , you'll find answer. no need post such questions on stackoverflow. luck!


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -