i have a code like this
Bitmap bm = BitmapFactory.decodeResource(getResources(), R.drawable.correct);
newImg = (ImageView)findViewById(R.id.rwans);
newImg.setImageBitmap(bm);
but i want after a second, image should fade out or it display nothing or as previous state.
thank you
post a delayed message to the
Handlerand do aImageView.setVisibility(View.INVISIBLE). To achieve the fade out effect you can use an Animation.