How can I limit the height of AndroidSlidingUpPanel when expanded
Asked Answered
N

1

6

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?

Nemato answered 10/3, 2014 at 2:31 Comment(0)
E
9

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

Ernestoernestus answered 13/3, 2014 at 5:1 Comment(2)
This should be added to AndroidSlidingUpPanel wiki!Onomatopoeia
Didn't imagine this could be so easy.. saved lots of time.. i almost gave up and wanted to write my own slider...Gamboa

© 2022 - 2024 — McMap. All rights reserved.