Questions tagged [animationdrawable]

An object used to create frame-by-frame animations in Android. Generally defined as an XML file, placed in the res/drawable/ folder.

An object used to create frame-by-frame animations in Android. Generally defined as an XML file, placed in the res/drawable/ folder. Reference: https://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html

153 questions
0
votes
1 answer

Start AnimationDrawable at specific frame?

I got an AnimationDrawable like so: AnimationDrawable ani = new AnimationDrawable(); ani.addFrame(first, duration); ani.addFrame(second, duration); ani.addFrame(third, duration); ani.setOneShot(true); And…
Magakahn
  • 498
  • 9
  • 31
-1
votes
1 answer

AnimationDrawable Thread skipping frames

I am in an Activity which must play an AnimationDrawable (a 'loading' animation) while the rest of the content loads. I started the animation in another thread since animations tend to give a lot of work to the main thread, however the animation…
-3
votes
1 answer

Android drawable animation?

Is it possible to do an animation like this :Animation GIf If possible could someone please guide me on that?
p.mathew13
  • 920
  • 8
  • 16
1 2 3
10
11