title: How to get the current height of a BottomSheetDialogFragment programmatically? Or are there any default values for the different states?
body: <p>I want to change a view size based on the current size of the BottomSheetDialogFragment programmatically, but I don't know how to get or calculate it. I need this information in the <code>onStateChanged</code> callback.</p>