umano / AndroidSlidingUpPanel

This library provides a simple way to add a draggable sliding up panel (popularized by Google Music and Google Maps) to your Android application. Brought to you by Umano.
http://umano.me
Apache License 2.0
9.5k stars 2.26k forks source link

Height in Collapsed State #956

Open Janos1977 opened 5 years ago

Janos1977 commented 5 years ago

Hi. I need to modify the height of the view in collepsed state. Something like this Regards

device-2019-03-05-152137

peter-yeh commented 5 years ago

u just have to set the sothree:umanoPanelHeight="68dp" to your desire height

peter-yeh commented 5 years ago

<com.sothree.slidinguppanel.SlidingUpPanelLayout xmlns:sothree="http://schemas.android.com/apk/res-auto" android:id="@+id/sliding_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="bottom" sothree:umanoPanelHeight="68dp" sothree:umanoShadowHeight="4dp">

The panel height