I want to change the height of the panel which is visible by default.
I tried changing umanoPanelHeight but it has absolutely no effect.
<com.sothree.slidinguppanel.SlidingUpPanelLayout xmlns:sothree="http://schemas.android.com/apk/lib/com.my.app"
android:id="@+id/sliding_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="bottom"
sothree:umanoDragView="@+id/dragView"
sothree:umanoOverlay="true"
sothree:umanoPanelHeight="68dp"
sothree:umanoParalaxOffset="100dp"
sothree:umanoShadowHeight="4dp">
<FrameLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
// Details omitted
/>
<LinearLayout
android:id="@+id/container2"
android:layout_width="match_parent"
android:layout_height="match_parent"
// Details omitted
/>
</com.sothree.slidinguppanel.SlidingUpPanelLayout>
I came across this problem earlier as well but couldn't solve it then. It looks a very basic thing but I can't figure out. Can someone help me. Thanks !!
I created a sample with a basic integration and it works perfect. I hope it helps you that you can spot what you are doing different.
I would also change the inner layouts to the simple textviews to see if the problem is there.
Integration
App manifest
Style
MainActivity
Layout
Layout1
Both layout and layout1 are working fine and I can see the panel increasing size as I used 368dp instead of 68dp that was the default value. Tested on Android 6.0.