title: Bottom Sheet Initial Collapse not working
body: <p>I need to show the text &quot;Peek&quot; at the collapsed state, but it shows the whole height.</p>
  <p>How to hide the blank area above &quot;Peek&quot;?</p>
  <p>It must show the &quot;Peek&quot; area at the first, then show &quot;Content&quot; after expand.</p>
  <p><a href="https://i.stack.imgur.com/8nsHa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8nsHa.png" alt="Screenshot" /></a></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;androidx.coordinatorlayout.widget.CoordinatorLayout
      xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;&gt;
  
      &lt;LinearLayout
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;match_parent&quot;
          android:id=&quot;@+id/bottom_sheet&quot;
          app:layout_behavior=&quot;@string/bottom_sheet_behavior&quot;
          app:behavior_hideable=&quot;true&quot;
          android:background=&quot;@drawable/rounded_bottom_dialog&quot;
          app:behavior_peekHeight=&quot;80dp&quot;
          android:orientation=&quot;vertical&quot;
          &gt;
  
          &lt;TextView
              android:id=&quot;@+id/textView&quot;
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;80dp&quot;
              android:gravity=&quot;center&quot;
              android:textColor=&quot;@color/white&quot;
              android:text=&quot;Peek&quot; /&gt;
  
          &lt;TextView
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;200dp&quot;
              android:gravity=&quot;center&quot;
              android:textColor=&quot;@color/white&quot;
              android:text=&quot;Content&quot; /&gt;
  
      &lt;/LinearLayout&gt;
  
  
  
  &lt;/androidx.coordinatorlayout.widget.CoordinatorLayout&gt;
  </code></pre>