I am using umano sothree.slidinguppanel.SlidingUpPanelLayout for bottom slide up layout. I have set height for the umano panel layout as 400dp which match my phone small screen and design is correct. when application is installed on large screen phones the panel height is very small compared to the design.
How to make the panel always stay below a image and while scrolling the panel should slide up
<com.sothree.slidinguppanel.SlidingUpPanelLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/sliding_layout"
android:gravity="bottom"
sothree:umanoPanelHeight="460dp"
sothree:umanoShadowHeight="5dp"
sothree:umanoDragView="@+id/dragView"
sothree:umanoOverlay="true"
sothree:umanoScrollableView="@+id/cl_dragged_view">
calculate the height of total screen.
then calculate the height of the layout that the sliding panel should touch
now
this give the hieght for each screen to set for panel height.