code: private WindowManager.LayoutParams createLayoutParams() {
          WindowManager.LayoutParams layoutParams = getWindow().getAttributes();
          layoutParams.width = ViewGroup.LayoutParams.MATCH_PARENT;
          layoutParams.height = ViewGroup.LayoutParams.MATCH_PARENT;
          return layoutParams;
      }
docs: Creates and returns the layout params, which should be used to show the bottom sheet.
  
  @return The layout params, which have been created, as an instance of the class {@link
  android.view.WindowManager.LayoutParams}