Search code examples
androidslidingpanelayout

Issue with SlidingPaneLayout


I am trying to use SlidingPaneLayout , I am having this weird behavior that i can slide the left panel as well which is the ListView , I thought it is something wrong in my code but turned out that even the API demos have the same issue. This issue occurs on phone but not on tablets.

Any ideas ?

Edit: I have S4 and when running the API Demos on it it works with no issues, and I have S1 the demos having the issue above. In my implementation I am using two FrameLayout that I place Fragment in.


Solution

  • I figured the issue out , I have set the width of the left pane which contains the list to a width greater than the available width, and that was causing the issue, setting a smaller width fixed my issue.