code: public ArrayList<View> getCustomViews(String viewName)
      {
          ArrayList<View> returnViews = new ArrayList<View>();
          for(View v: this.getViews())
          {
              if(v.getClass().getSimpleName().equals(viewName))
                  returnViews.add(v);
          }
  
          return returnViews;
      }
docs: Gets views with a custom class name
  @param viewName simple class name of the view type
  @return arraylist of views matching class name provided