1

How can I show a toast for a specific duration?

view story
linux-howto

http://stackoverflow.com – This is the way I have to show the Toast for 500 milliseconds. Though, it's showing more than a second. Toast.makeText(LiveChat.this, "Typing", 500).show(); How can I show Toast only for 500 milliseconds? (HowTos)