code: @Override
      protected View onCreateView(String name, AttributeSet attrs) throws ClassNotFoundException {
          // This mimics the {@code PhoneLayoutInflater} in the way it tries to inflate the base
          // classes, if this fails its pretty certain the app will fail at this point.
          View view = null;
          for (String prefix : CLASS_PREFIX_LIST) {
              try {
                  view = createView(name, prefix, attrs);
              } catch (ClassNotFoundException ignored) {
              }
          }
          // In this case we want to let the base class take a crack
          // at it.
          if (view == null) view = super.onCreateView(name, attrs);
  
          return mDecorFactory.onViewCreated(view, name, null, view.getContext(), attrs);
      }
docs: The LayoutInflater onCreateView is the fourth port of call for LayoutInflation.
  BUT only for none CustomViews.
  Basically if this method doesn't inflate the View nothing probably will.