This is my situation. I have two activities: ONE and TWO. In TWO activity is button and picture. This picture is animated. Animation is during 5 seconds. When I start activity TWO from Activity ONE animation is started and after 5 seconds is stopped. I want that this button on activity TWO is disabled until animation ends. When animation ends then button get enabled and I can click on it. How I can do this?
Edit1: Can I check if my animation is over?
Try like this..put this in oncreate