Blog Archives


Method setImageDrawable(Drawable) is usually used to change image of imageview, If you have a png image in res/drawable folder in android project, you can use it as follow, meanwhile, if you do not know how to use it in android, you also can read steps below.

Step 1: Create an android project in Eclipse

You can use eclipse to create an android project easily and quickly, after you have done, you can continue;