如何制作它以使androidSlideUpPanel here仅滑动到总屏幕高度的50%?
我尝试设置layout_weight = 1
<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">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Main Content"
android:layout_weight="1"
android:textSize="16sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center|top"
android:text="The Awesome Sliding Up Panel"
android:layout_weight="1"
android:textSize="16sp" />
</com.sothree.slidinguppanel.SlidingUpPanelLayout>
但它似乎没有做到这一点?