我在我的应用中实现了SlidingUpPanelLayout。但我必须从顶部定义SlidingUpPanelLayout的长度。
这是我的代码
<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="430dp"
sothree:umanoShadowHeight="4dp"
sothree:umanoParallaxOffset="50dp"
sothree:umanoDragView="@+id/dragView"
sothree:umanoOverlay="true"
sothree:umanoScrollableView="@+id/main">