code: public DrawerBuilder withDrawerLayout(@LayoutRes int resLayout) {
          if (mActivity == null) {
              throw new RuntimeException("please pass an activity first to use this call");
          }
  
          if (resLayout != -1) {
              this.mDrawerLayout = (DrawerLayout) mActivity.getLayoutInflater().inflate(resLayout, mRootView, false);
          } else {
              if (Build.VERSION.SDK_INT < 21) {
                  this.mDrawerLayout = (DrawerLayout) mActivity.getLayoutInflater().inflate(R.layout.material_drawer_fits_not, mRootView, false);
              } else {
                  this.mDrawerLayout = (DrawerLayout) mActivity.getLayoutInflater().inflate(R.layout.material_drawer, mRootView, false);
              }
          }
  
          return this;
      }
docs: Pass a custom DrawerLayout Resource which will be used.
  NOTE: This requires the same structure as the drawer.xml
  
  @param resLayout
  @return