anthaugh
08/08/2017, 4:32 PMtoolbar
in my app is swipeable away.
I'm using it like this:
coordinatorLayout {
appBarLayout {
toolbar { ... }
relativeLayout { to be filled with content later }
}
}
Is there any way to prevent this behaviour? I tried setCollapsible(false)
to no availmiha-x64
08/08/2017, 5:59 PManthaugh
08/08/2017, 7:08 PMdavid.bilik
08/09/2017, 6:52 AManthaugh
08/09/2017, 7:52 AManthaugh
08/09/2017, 7:55 AManthaugh
08/14/2017, 1:52 PMscrollFlags = AppBarLayout.LayoutParams.SCROLL_FLAG_EXIT_UNTIL_COLLAPSED
in toolbar's lparams (toolbar is inside appBarLayout
which in turn is inside coordinatorLayout
)