pedrovgs / DraggablePanel

Android library used to create an awesome Android UI based on a draggable element similar to the last YouTube graphic component.
Apache License 2.0
2.99k stars 606 forks source link

How to change the top view height in DraggablePanel #80

Closed ChunJR closed 8 years ago

ChunJR commented 8 years ago

Hello, like a status, is there a way to change the top view height when using DraggablePanel correctly? i have try DraggablePanel.setTopViewHeight(anotherdimen); but it not working.. Thanks !!

Nguyenduylinh1402 commented 8 years ago

@ChunJR Which exactly case you want to change top height ? If you want change when rotate screen in landscape mode, you just create landscape file dimens.xml but it will destroy your topview and recreate it(You have to disable orientation config).

pedrovgs commented 8 years ago

This issue is related to the #78 so I'm going to close it, sorry.