Questions tagged [slidingpanelayout]

SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level of a UI. A left (or first) pane is treated as a content list or browser, subordinate to a primary detail view for displaying content.

SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level of a UI. A left (or first) pane is treated as a content list or browser, subordinate to a primary detail view for displaying content.

Child views may overlap if their combined width exceeds the available width in the SlidingPaneLayout. When this occurs the user may slide the topmost view out of the way by dragging it, or by navigating in the direction of the overlapped view using a keyboard. If the content of the dragged child view is itself horizontally scrollable, the user may grab it by the very edge.

Thanks to this sliding behavior, SlidingPaneLayout may be suitable for creating layouts that can smoothly adapt across many different screen sizes, expanding out fully on larger screens and collapsing on smaller screens.

Click Here for class reference.

107 questions
0
votes
1 answer

List view showing on another fragment

I'm using a view pager with a sliding panel inside, so when my panel is expanded it creates a request of users and instantiates viewholders to show them in the list view, the problem is that they get instantiated on wherever they want, how I can…
0
votes
1 answer

Get slidingpanellayout events

I'm using sliding panels with my android app, but i need to get an event when the panel is up, is there a way listen to when it happens? im using a sothree Sliding panel library
Cristian Cam G
  • 362
  • 1
  • 3
  • 19
0
votes
1 answer

android sliding up panel in my eclipse project showing error

I have imported the gradle project in eclipse by single classes it not showing any error but when i run app it shows me this error dex path error Here is my logcat 07-09 12:42:55.984: E/AndroidRuntime(12286): FATAL EXCEPTION: main 07-09…
Edward
  • 139
  • 3
  • 9
0
votes
1 answer

Close android sliding up panel (Umano Library) on drawer open

I have implemented sliding up panel provided by Umano library in my android application. I have used my drawer layout inside the sliding up panel like this xml
CraZyDroiD
  • 6,622
  • 30
  • 95
  • 182
0
votes
2 answers

Sliding pane layout with 3 panels android

I got struggle with SlidingPaneLayout. I'm trying to create activity with 3 panels like is shown on image: The case is that I want to panel 2 was visible by default, and when user swipe from left to right should open panel 1 and when swipe from…
mlethys
  • 436
  • 9
  • 29
0
votes
1 answer

SlidingPanelLayout: disable and enable the swipe

I am using SlidingPanelLayout together with a ViewPager and would like to disable swipe gesture used to open the menu whenever user has the ViewPager fragment as the content fragment. How can I do it?
0
votes
0 answers

How to keep SlidingPaneLayout opened in android?

There is slidingPaneLayout, which I need to keep opened. First I tried to don use panelsidelistener, but it didn't work Then I tried to set spl.openPane() that is also failed because it opened for some percents and opened again. So I need to know…
Hossein Kurd
  • 3,184
  • 3
  • 41
  • 71
0
votes
1 answer

Android Surfaces Look alike Layout in pre-Lollipop

I am trying to design a layout in Android but I don't even know how to call it. It is somewhat similar to Android Surfaces I would say, but actually the old Google Maps Entry details are designed more like it and i would prefer to target sdks prior…
D4ngle
  • 21
  • 7
0
votes
2 answers

Pane is always opening in SlidingPaneLayout implementation

Problem with my code below is that the Pane always gets opened by default, no idea why. Obviously, I dont want the Pane (child) to be opened by default. Only when user clicks on lv_schedule, the pane should open. So when the fragment loads, I have…
user1406716
  • 9,565
  • 22
  • 96
  • 151
0
votes
0 answers

Android Sliding Panel with Showing icons only when it is collapsed

I want to implement sliding Menu like below images ,I am using SlidingPaneLayout to create Left Sliding Menu but How i can make it to behave like below images. Now when some one close it by Either top left icons click or by drag to left it should…
Herry
  • 7,037
  • 7
  • 50
  • 80
0
votes
1 answer

SlidingPanelLayout default panel

I am using this layout for a two panel UI :
sprocket12
  • 5,368
  • 18
  • 64
  • 133
0
votes
1 answer

SlidingPaneLayout isSlideable() method is not working

I have sliding pane layout
Kiryl Tkach
  • 3,118
  • 5
  • 20
  • 36
0
votes
1 answer

nullpointerexpection when trying to use SlidingPaneLayout in a Fragment (onCreateView)

I am getting a nullpointer exception inside onCreateView() of a Fragment when trying to use the SlidingPaneLayout. mSlidingLayout.setPanelSlideListener(new SliderListener()); If I remove the use of this SlidingPaneLayout, and just display a Textview…
user1406716
  • 9,565
  • 22
  • 96
  • 151
0
votes
1 answer

How to reduce the width of the covering layout in SlidePaneLayout Android in closed state

I am using android SlidePaneLayout, and i have two Linearlayouts inside it, leftpane and rightpane , where right pane slides over left pane in closed state. I need to reduce the width of the rightpane to say 250dp . No matter whatever width i…
Shamnad P S
  • 1,095
  • 2
  • 15
  • 43
0
votes
1 answer

Android, cannot implement SlidingPaneLayout, fails at setContentView

I asked this already but nobody answered so I'm asking again. I'm trying to implement SlidingPaneLayout from android.support.v4.widget. I'm trying to implement the most barebones code I possibly can. The only way anything will load is if I comment…
Colin
  • 57
  • 1
  • 1
  • 5