This is a Simple Android Moving Circles Loading Animation. Circle width is calculated based on width of the view.
Copy MovingCircleLoader.java to the project.
In Layout xml,
<com.scriptedpapers.MovingCircleLoader
android:id="@+id/circleLoader"
android:layout_width="match_parent"
android:layout_height="250dp" />