list: fix incomplete scrolling in menu dialog

Fix an issue where the options in MenuDialog could not full scroll for
an unknown reason.

Derived from some absurd issue where BottomSheetBehavior dislikes
ConstraintLayout's spacing and decides to improperly allocate enough
space for the RecyclerView to scroll.
This commit is contained in:
Alexander Capehart
2023-07-12 20:03:01 -06:00
parent 18d9c0adf0
commit 124726693e
2 changed files with 70 additions and 62 deletions
@@ -36,9 +36,6 @@ import org.oxycblt.auxio.util.unlikelyToBeNull
* A lifecycle-aware [DialogFragment] that automatically manages the [ViewBinding] lifecycle as a
* [BottomSheetDialogFragment].
*
* TODO: Debug why menu RecyclerView believes it can scroll more than it actually can in
* landscape.
*
* @author Alexander Capehart (OxygenCobalt)
*/
abstract class ViewBindingBottomSheetDialogFragment<VB : ViewBinding> :