Titanic for Android
This library is DEPRECATED, as I don't have time to mainatin it anymore. But feel free to go through the code and copy that into your project, it still does its job.
How to use
TitanicTextView to your layout:
<com.romainpiel.titanic.TitanicTextView android:id="@+id/titanic_tv" android:text="@string/loading" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#212121" android:textSize="70sp"/>
To start the animation:
titanic = new Titanic(); titanic.start(myTitanicTextView);
You may want to keep track of the titanic instance after the animation is started if you want to stop it.
To stop it: