Open NurAlif opened 4 years ago
Try setting this to the second view (which is the sliding panel)
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.4"
Assuming that by "0.4%" you mean 40% of the screen :)
I need the slider to only expand maximum at 0.4% of the screen. The anchor feature doesn't work as i want because it still can be expanded higher. Set
layout_height
also not what i want since it will also set the height of the main layout. Putting the main layout behind ofSlidingUpPanel
also doesn't work because even whenSlidingUpPanel
collapsed the area forSlidingUpPanel
is always blocking the touch of the main layout.Is there any feature that capable for this? It would be nice if this library has easy feature to fix this problem