I am searching for some info on how to create loading animation in android. Is it possible to create this animation that i could call this animation in one thread and end in other ?

I seeking for this:

![enter image description here](https://i.stack.imgur.com/87ssF.png)