how to get bottomSheet to open from the top?
I'm opening a NestedScrollView in my app and so far it opens from the bottom of the screen. How do I make it open from the top? I tried removing the following line: app:layout_behavior="android.support.design.widget.BottomSheetBehavior" But the app crashes with the following error: The view is not associated with BottomSheetBehavior Is there a way to open the bottom sheet from the top of the screen? Here is my activity: ViewPager mainViewPager; private BottomSheetBehavior mBottomSheetBehavior; int switcher = 1; View menuPopupView; @Override protected void onCreate(Bundle savedInstanceState) {