public void onClick(DialogInterface dialog, int which) {
      Toast.makeText(getApplicationContext(), "Activity will continue", Toast.LENGTH_LONG).show();
    }
Demo project to verify selendroid actions.

@author ddary
selendroid-test-app/src/main/java/io/selendroid/testapp/HomeScreenActivity.java