Search code examples
androidandroid-slidingslidingpanelayout

How can I limit the height of AndroidSlidingUpPanel when expanded


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?


Solution

  • Just set the panel's layout_height to whatever you like, and things are done.