https://github.com/RomainPiel/Shimmer-android
Information on how to use it is on the wiki.
But for the sake of completion:
Add a ShimmerTextView to the layout:
<com.romainpiel.shimmer.ShimmerTextView android:id="@+id/shimmer_tv" android:text="@string/shimmer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#444" android:textSize="50sp"/>
To start the animation:
shimmer = new Shimmer(); shimmer.start(myShimmerTextView);
You might want to track the flicker instance after starting the animation, if you want to stop it.
To stop him:
shimmer.cancel();
Enjoy : D
source share