This is the way I have to show the Toast for 500 milliseconds. Though, it\'s showing more than a second.
Toast
Toast.makeText(LiveChat.this, \"Typing\
Toast.makeText(LiveChar.this,"Typing",Toast.LENGTH_SHORT);
This is the only way you can..