Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android line loading animation

How can I make an animation in Android like this one or similar?

I don't know where to start, how to make the lines and how to make them move.

See the progress bar displayed on this site: http://tinyurl.com/oqy8zef

like image 534
Georgian Benetatos Avatar asked Dec 19 '22 11:12

Georgian Benetatos


1 Answers

This is an indeterminate progress bar

<ProgressBar
    style="?android:attr/progressBarStyleHorizontal"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:indeterminate="true" />

But you should not include "Loading..." text according to guidelines

like image 197
Alexander Zhak Avatar answered Jan 05 '23 21:01

Alexander Zhak