Show android layout for x seconds

1

Well, I want to show a layout for 5 seconds. I've already seen examples of how to do this as soon as the application opens, but what I want is to show a layout for 5 seconds during the execution of the application, ie if a button is pressed it shows this layout for 5 seconds and then continues the application .

Any solution?

    
asked by anonymous 12.11.2015 / 20:52

1 answer

0

Trigger a clock (based on current time) so onClick the button and when time = 5 seconds, kill activity with finish (); or kills the layout.

    
18.11.2015 / 19:10