Code example for TransitionDrawable

Methods: reverseTransition

0
					sleep(1600);
 
					runOnUiThread(new Runnable() {
						public void run() { 
 
							transition.reverseTransition((1500));
 
						} 
					}); 
					sleep(1800);
				    if(!mCover.isClickable())
				    	return; 
					 
					runOnUiThread(new Runnable() {
						public void run() { 
 
							Animation fadeout = AnimationUtils.loadAnimation(CanvasNetActivity.this, R.anim.cover_fadeout);
							mCover.startAnimation(fadeout);
							mCover.setClickable(false);
							mCover.setVisibility(View.INVISIBLE);