title: How to show a button after 5 seconds in android studio?
body: <p>I have an app that shows a disclaimer at the beginning of the program. I want a button to remain invisible for 5 seconds, and then become visible. I set up a thread that sleeps for 5 seconds, and then tries to make the button visible. However, I get this error when I execute my code:</p>
  
  <pre><code>08-02 21:34:07.868: ERROR/AndroidRuntime(1401): 
  </code></pre>
  
  <p>How can I count 5 seconds, and then make the button visible?</p>