code: public static boolean validateSingleView(Activity activity, View targetView, IValidationCallback callback) {
          return validateSingleView(activity, activity.getWindow().getDecorView(), targetView, callback);
      }
docs: /////////////////////////////////////////////////////////////////////////