title: BottomSheetDialogFragment doesn't show full height in landscape mode
body: <p>I am using BottomSheetDialogFragment in my activity, the dialog shows full height in portrait mode but doesn't when I switch to landscape mode.</p>
  
  <p><a href="https://i.stack.imgur.com/uPYrA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/uPYrA.png" alt="Portrait Mode"></a></p>
  
  <p><a href="https://i.stack.imgur.com/kI1Pj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kI1Pj.png" alt="Landscape Mode"></a></p>
  
  <blockquote>
    <p>MainActivity.java</p>
  </blockquote>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          CustomBottomSheetDialog customBottomSheetDialog = new CustomBottomSheetDialog();
          customBottomSheetDialog.show(getSupportFragmentManager(),customBottomSheetDialog.getTag());
      }
  }
  </code></pre>
  
  <blockquote>
    <p>CustomBottomSheetDialog</p>
  </blockquote>
  
  <pre><code>public class CustomBottomSheetDialog extends BottomSheetDialogFragment {
  
      @Nullable
      @Override
      public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
          return View.inflate(getContext(), R.layout.view_config, null);
      }
  }
  </code></pre>
  
  <blockquote>
    <p>CustomBottomSheetDialog layout</p>
  </blockquote>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:orientation="vertical"
                android:layout_width="match_parent"
                android:background="#fdf107"
                android:layout_height="wrap_content"&gt;
  
      &lt;TextView
          android:layout_width="match_parent"
          android:layout_height="196dp"
          android:gravity="center"
          android:textColor="@color/colorAccent"
          android:text="BottomSheetDialogFragment"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>in landscape mode, i have to drag BottomSheetDialogFragment to see the whole content.</p>