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
1
vote
1 answer

SlidingPaneLayout - touch event is delegated to the view behind

How can I avoid that my SlidingPaneLayout delegates the touch event to the behind view? In my case, if a non touchable area like a textview is over a button and the behind view is not visible and I touch the textview, the button get's the touch…
prom85
  • 16,896
  • 17
  • 122
  • 242
1
vote
1 answer

Limit the touch event of the SlidingPaneLayout to the very left edge of the screen

Is it possibble to Limit the touch event of the SlidingPaneLayout to the very left edge of the screen link happens in the DrawerLayout?
Usi Usi
  • 2,967
  • 5
  • 38
  • 69
1
vote
3 answers

No sliding for SlidingPaneLayout in landscape

I'm using the SlidingPaneLayout in my application. In the landscape orientation I want the left and right panes of the SlidingPaneLayout to fit entirely and no swipe should be required to view them. My layout is: …
Zeba
  • 3,041
  • 1
  • 28
  • 39
1
vote
1 answer

SlidingPaneLayout with map and list not refreshed correctly

(preface: I have this problem while using the v4 Android support library) I'm using the new SlidingPaneLayout to show an Android V2 map behind a List View, like this ----[¨¨¨¨] | M [ L ] | A [ I ] | P [ S ] | [ T ] ----[____] It has two…
0
votes
1 answer

Android SlidingPaneLayout closePane() no longer working

I recently updated a project that I completed a couple of years ago. The application has a fragment and a sliding pane with a list of items, pressing on which triggers a certain action and closes the pane. The pane is also closed once the fragment…
Igor Tupitsyn
  • 1,193
  • 3
  • 18
  • 45
0
votes
0 answers

i am getting an error while using the sliding up panel dependency in my flutter code

I get an exception whenever I press the payments button on my bottom nav-bar. the error goes like this: The ParentDataWidget Expanded(flex: 1) wants to apply ParentData of type FlexParentData to a RenderObject, which has been set up to accept…
0
votes
0 answers

Programmatically maximize the detail pane in a SlidingPaneLayout for large displays

The SlidingPaneLayout provides developers a way to have an adaptive layout for different display sizes. When a screen is large enough, both a list and detail pane will be shown. One thing I can't figure out is how to programmatically make the detail…
0
votes
0 answers

SlidingUpPanelLayout problem with visibility

I have a problem with SlidingUpPanelLayout. My view is build like that:
Janekxyz
  • 101
  • 1
  • 9
0
votes
1 answer

How do I load Fragments into my SlidingPaneLayout menu?

I'm a newbie, so please bear with me. I've implemented a SlidingPaneLayout in my app. However, in the example I followed it populated the menu fragment with an array of strings. I think it was just as an example. How do I populate the menu fragment…
rachelvsamuel
  • 1,551
  • 2
  • 10
  • 21
0
votes
1 answer

Problems placing view on top of SlidingPaneLayout

I want to place a view via include on top of a SlidingPaneLayout. In the layout preview of Androíd Studio it is displayed correctly but on my device the view won't show - why? Here is the complete layout file:
Dawg85
  • 61
  • 1
  • 5
0
votes
2 answers

Android - umano SlidingUpPanelLayout - content fitsSystemWindows

I am using the following library : https://github.com/umano/AndroidSlidingUpPanel. I want to display things below status bar when scrolling and I can't make the main_content (first container of the SlidingUpPanelLayout) fit the screen. I want to…
bengous
  • 205
  • 2
  • 4
  • 13
0
votes
1 answer

disable swipe in SlidingUpPanelLayout

this is my SlidingPanelLayout mLayout = (SlidingUpPanelLayout) findViewById(R.id.sliding_layout); mLayout.addPanelSlideListener(new SlidingUpPanelLayout.PanelSlideListener() { @Override public void onPanelSlide(View panel,final…
user5107123
0
votes
0 answers

How to hide panel on SlidingPaneLayout

I have this XML view that works with SlidingPaneLayout
Shudy
  • 7,806
  • 19
  • 63
  • 98
0
votes
0 answers

sliding panel from bottom like Google Play Music using View pager + RecycleView inside the main content

I want to make sliding panel from bottom like Google Play Music so i am using Umano Library but View pager inside the main content not scrollable. Please help me out. I have view Pager which loads data from server and set in recycler view but the…
0
votes
1 answer

Changing SlidingUpPanelLayout anchor point when orientation changes

I use a SlidingUpPanelLayout in my app. (Thanks umano it's a very handy library) I have added a parallax image (with a width equal to the width of the screen) that behaves in a way similar to Google maps, i.e the image is hidden underneath the panel…
user1654757
  • 300
  • 1
  • 5
  • 14