Closed burnix closed 8 years ago
@ozodrukh thank you!
this was my solution
public void onWindowFocusChanged (boolean hasFocus)
{
super.onWindowFocusChanged(hasFocus);
AnimationDrawable frameAnimation =
(AnimationDrawable) animation.getBackground();
if(hasFocus) {
frameAnimation.start();
} else {
frameAnimation.stop();
}
}
I'm trying to simply add animation, following to your guide, but all what can I see is empty screen and flat card view in 1,5 seconds... No Circular animation.
MainActivity:
Layout:
Gradle:
What did I miss? Thanks in advance.
P.S. min API is 15. Testing on 19.