I want to make a button with a progress bar around it and so that when you press this progress bar, it starts moving when it reaches the end (5 seconds) - the onClick method is executed.
Button example:
In theory, I thought of doing this:
The button itself is an ImageButton
to shove a ImageButton
in it and somehow start the animation of the gif when pressed. But I am not strong in graphics and in my understanding, to make such a gif is sooo hard;)
Tell me how to do this?