title: How can I show a toast for a specific duration?
body: <p>This is the way I have to show the <code>Toast</code> for 500 milliseconds. Though, it's showing more than a second.</p>
  
  <pre><code>Toast.makeText(LiveChat.this, "Typing", 500).show(); 
  </code></pre>
  
  <p>How can I show <code>Toast</code> only for 500 milliseconds?</p>