An easy way to run an animation to any element within your activity.
TextView textView = (TextView) findViewById(R.id.yourTextView); textView.startAnimation(AnimationUtils.loadAnimation(c, android.R.anim.fade_in));
The code above runs the android animation "fade_in" on the TextView with ID of "yourTextView".
We provide special containers which include the full snippet and a link to this site. So for example when you make a tutorial and you are using code from this site, you can use one of the following snippet embeddings: