How to animate a View with Translate Animation in Android?

Will requestAnimationFrame draw the animation which are below the fold (not in the view port of the page)?

  • I have checked for new tab or minimized tab, it works perfectly and not drawing or painting for those tabs which are minimized or hidden .. but can not able to figure out about animation which are below the fold or animation under hidden DOM element like "animation under hidden div".  Is there any way to know whether browser is calling "paint" or not for my animation currently?

  • Answer:

    I have identified it is in their plan http://www.w3.org/TR/html5/editing.html#focus-management

Hardik Shah at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.