I have a Custom Dialog that works as a popup window.
I need the height of this Custom Dialog to be adjustable to the size of the children.
I've already tried infinite height, but it always fills the entire height of the screen, and I don't want that.