title: How To Open The Bottom Sheet Behavior Directly To Full Screen with smooth transition?
body: <p>I am looking solution to open the Bottom Sheet Behavior Directly To Full Screen with smooth transition?</p>
  <p>Here is the java solution ref link, i am looking kotlin solution.
  <a href="https://github.com/material-components/material-components-android/blob/master/catalog/java/io/material/catalog/bottomsheet/BottomSheetMainDemoFragment.java" rel="nofollow noreferrer">https://github.com/material-components/material-components-android/blob/master/catalog/java/io/material/catalog/bottomsheet/BottomSheetMainDemoFragment.java</a></p>
  <pre><code> private var standardBottomSheetBehaviorSearch: BottomSheetBehavior&lt;LinearLayout&gt;?=null
  
  
  
  
   /*  bottom sheet search */
      standardBottomSheetBehaviorSearch = BottomSheetBehavior.from(binding!!.tripBottomSheetSearch.bottomSheetSearch)
      standardBottomSheetBehaviorSearch!!.isHideable = true
      standardBottomSheetBehaviorSearch!!.peekHeight = 100
      standardBottomSheetBehaviorSearch!!.isDraggable = true
      standardBottomSheetBehaviorSearch!!.skipCollapsed = false
      standardBottomSheetBehaviorSearch!!.addBottomSheetCallback(object : BottomSheetBehavior.BottomSheetCallback() {
  
          override fun onSlide(bottomSheet: View, slideOffset: Float) {
          }
          override fun onStateChanged(bottomSheet: View, newState: Int) {    
             
         
          }
      })
  </code></pre>