I'm defining the anchor point and it works fine, but I need to control the maximum height of the SlidingUpPanelLayout when expanded.
How can I do this?
Just set the panel's layout_height to whatever you like, and things are done.