tags:

views:

258

answers:

1

Hi , 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

A: 

post a delayed message to the Handler and do a ImageView.setVisibilty(View.INVISIBLE). To achieve the fade out effect you can use an Animation.

Samuh