I'm using a simple SlidingPaneLayout
and what I want is following:
I want, that a little bit of the slide out view is always visible, so that the user always see's, that there exists something to pull out... Like it is in Hangouts.
Is that somehow possible?
Setting the android: property determines how leftover space in a SlidingPaneLayout is distributed among child views. In general, isSlideable will only be true on larger devices, where two layouts are shown side by side.
SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level of a UI. A left (or start) pane is treated as a content list or browser, subordinate to a primary detail view for displaying content. Child views overlap if their combined width exceeds the available width in the SlidingPaneLayout.
You have to set a left margin on the slideable view (top view)
e.g.: android:layout_marginLeft="200dp"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With