I would like to create an unswipe-able Snackbar in an activity which contains a DrawerLayout.
Either I use a FrameLayout to contain my Snackbar and it appears on top of the NavigationView when I draw it, or I use a CoordinatorLayout and it appears under, but it becomes swipe-able.
In Google's Component documentation, it is said in the usage that the Snackbar is lower in elevation than the DrawerLayout.
I tried, in vain, to set a dummy behavior to my CoordinatorLayout to prevent it from being swipe-able, like discussed in this previous post.
Therefore, how come a Snackbar wrapped in a FrameLayout within a DrawerLayout appears above the DrawerLayout? and is there a way to override the dismiss behavior of a Snackbar in a CoordinatorLayout?