<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_launcher" />
That is my imageView. When I try to change the image of it like this:
Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.com_facebook_top_button);
imageView1.setImageBitmap(bitmap);
the imageview seems to be invisible. The ic_launcher image disappears and the new image is not being shown.