7

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?

prom85
  • 16,896
  • 17
  • 122
  • 242

2 Answers2

11

You have to set a left margin on the slideable view (top view)

e.g.: android:layout_marginLeft="200dp"

vinc3m1
  • 4,075
  • 1
  • 26
  • 23
-2

You use showcase to notify the user about something available to be pulled out. Which will make your app looks more professional.

https://github.com/Espiandev/ShowcaseView

Ahmed Ekri
  • 4,601
  • 3
  • 23
  • 42
  • 1
    I know about this library... Actually, I think, it looks better if a visible pullable area exists... Especially in a bigger app, where not every view has this menu... And I personally like the look of Hangouts – prom85 Sep 13 '13 at 09:11
  • Umm .. did you try using frame layout and adding an image that looks like a pull on the left of the screen? – Ahmed Ekri Sep 13 '13 at 09:12
  • Actually, I want that the slide out area is partly visible... I treid using padding, transparent background and similar, but I was not able to get the desired result... a pullable bar on the side is no problem though, but that's not what I want... – prom85 Sep 13 '13 at 09:18
  • 1
    Could whomever downvoted this answer include a reason why, as StackOverflow asks? I certainly hope people didn't downvote this because of their personal tastes in ascetics—how pathetic! – Michael Scheper Mar 03 '15 at 13:29