I have a DialogFragment that contains a RecyclerView (a list of cards).
DialogFragment
RecyclerView
Within this RecyclerView are one or more CardVi
CardVi
You must put a FrameLayout as Main view then put inside a RelativeLayout with ScrollView and at least your RecyclerView, it works for me.
The real trick here is the RelativeLayout...
Happy to help.