textview has this:
TextView title = (TextView)findViewById(R.id.title);
title.setText("new text");
how can i change the src of an image?
i want to do something like this:
ImageView image = (ImageView)findViewById(R.id.image);
image.setsrc("drawable/newimage");
but ImageView doesnt have a setsrc property.
thank you for your help.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en