Maybe this has been answered before (tried to search with no good answers)
I have a dialog with an unknown number of items inside. I would like the dialog to "wrapContent" up until a certain size, lets say 500dp, and then the content should start to be scrollable (leaving the ok and cancel buttons visible at the bottom). can this be achieved?