CoordinatorLayout apparently has FrameLayout Params
While trying to set a BottomSheetBehavior with an appropriate callback to a CoordinatorLayout, I stumbled upon this. When getting the layout params of said CoordinatorLayout, I keep receiving FrameLayout params instead. This is the situation code-wise.
From BottomSheetDialogFragment implementation
override fun setupDialog(dialog: Dialog?, style: Int) {
super.setupDialog(dialog, style)
val binding = DataBindingUtil.inflate(LayoutInflater.from(activity), R.layout.ambient_dialog, null,...