code: static Class<?> findViewClass(Context context, String name)
              throws ClassNotFoundException {
          if (name.indexOf('.') >= 0) {
              return loadViewClass(context, name);
          }
  
          for (String prefix : VIEW_CLASS_PREFIX_LIST) {
              try {
                  return loadViewClass(context, prefix + name);
              } catch (ClassNotFoundException e) {
                  continue;
              }
          }
  
          throw new ClassNotFoundException("Couldn't load View class for " + name);
      }
docs: Tries to load class using a predefined list of class prefixes for
  Android views.