timeout
Handler handler = new Handler(); handler.postDelayed(new Runnable() { public void run() { // action here } }, 1500);