code: private void obtainDialogFitsSystemWindows(@NonNull final TypedArray typedArray) {
          boolean left = typedArray
                  .getBoolean(R.styleable.DialogPreference_dialogFitsSystemWindowsLeft, true);
          boolean top = typedArray
                  .getBoolean(R.styleable.DialogPreference_dialogFitsSystemWindowsTop, true);
          boolean right = typedArray
                  .getBoolean(R.styleable.DialogPreference_dialogFitsSystemWindowsRight, true);
          boolean bottom = typedArray
                  .getBoolean(R.styleable.DialogPreference_dialogFitsSystemWindowsBottom, true);
          setDialogFitsSystemWindows(left, top, right, bottom);
      }
docs: Obtains, whether the preference's dialog should account for system screen decorations such as
  the status bar and inset its content, or not.
  
  @param typedArray
  The typed array, it should be obtained from, whether the preference's dialog should
  account for system screen decorations, or not, as an instance of the class {@link
  TypedArray}. The typed array may not be null