Code example for TransitionDrawable

Methods: reverseTransition, startTransition

0
 
					@Override 
					public void run() { 
						 
						// 1a piscada do raio 
						transicao.startTransition(200);
						transicao.reverseTransition(200);
						 
					}				 
				});				 
			} 
		}).start();
	} 
 
	/** 
	 *  
	 *  
	 * @param v 
	 */ 
	public void calcularDistanciaDoTrovao(View v) {
		if (botaoCalculo.isChecked()) {