Java tutorial
//package com.java2s; import android.os.Handler; import android.view.View; public class Main { public static void confiltClick(final View view) { view.setEnabled(false); new Handler().postDelayed(new Runnable() { @Override public void run() { view.setEnabled(true); } }, 1000); } }