Java tutorial
//package com.java2s; import android.graphics.drawable.Animatable; import android.graphics.drawable.Drawable; import android.widget.TextView; public class Main { public static void startAnimation(TextView textView) { Drawable[] drawables = textView.getCompoundDrawables(); for (Drawable drawable : drawables) { if (drawable != null && drawable instanceof Animatable) { ((Animatable) drawable).start(); } } } }