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
4
votes
1 answer

Can't click children button in SlidingUpPanelLayout

I use SlidingUpPanelLayout in my project and i have a problem with it. My SlidingUpPanelLayout has 2 children. 1) ListView for showing list of data - this is content 2) LinearLayout with his children (textvien, edittext, button) - this is slide up…
Denis
  • 341
  • 1
  • 5
  • 19
4
votes
1 answer

Use SlidingPaneLayout to slide from bottom

Is there a way to get the SlidingPaneLayout to slide from bottom to top rather than from right to left.
Rajul
  • 5,906
  • 2
  • 22
  • 26
3
votes
1 answer

Bringing fragments to the 'front' on click in sliding pane layout

I have a sliding pane layout with a listview on the left, and a pane with my fragments on the right. When I click the listview items, my fragment correctly loads in the right side pane. The user then needs to slide the pane to bring it to the…
XDProgrammer
  • 853
  • 2
  • 14
  • 31
3
votes
1 answer

Android. Sliding Panel not fully closed

I need to Sliding Panel in the closed state is not fully closed. (example https://i.stack.imgur.com/S2Hj1.png ) how to do it? xml
Konstantin Pl
  • 141
  • 1
  • 4
3
votes
1 answer

SlidingPaneLayout setCoveredFadeColor () and setSliderFadeColor()

I'm using the SlidingPaneLayout and want to set gray fade color on left pane when the slider right pane is open and a transparent fade color on the left pane when the right pane is closed and left pane is fully visible. I know this is the default…
Zeba
  • 3,041
  • 1
  • 28
  • 39
3
votes
1 answer

Set a view with SlidingPaneLayout with two menu's- one to the left and one to the right

i'm trying to create a SlidingPaneLayout that can slide both ways, same as they have in the Facebook app. i see in android SlidingPaneLayout docs, that it is only intended to have a left menu, but still i'm looking for a way to make the child view…
amirye
  • 147
  • 7
2
votes
1 answer

Error inflating SlidingPaneLayout class in AndroidX

Problem : Hey everyone, I have a straightforward issue. I have used androidx.slidingpanelayout.widget.SlidingPaneLayout in AndroidX before, and it worked perfectly fine. But now, in my another application, Android-Studio is giving me an error which…
Detained Developer
  • 1,134
  • 2
  • 13
  • 33
2
votes
2 answers

Umano SlidingUpPanel stucks when swiping from anchor to collapsed state

I have created a SlidingUpPanel which consits of google map in top layout and listview in bottom panel.Layout also have an anchor point .The issue I am having is that many times whin i slide panel from anchor point to collapsed state it stucks in…
2
votes
2 answers

How to set slidingpanel default state collapse and collapse panel min height?

I am using sliding panel foursquare library and as i open the panel activity i found panel to be expanded by default but i wan to set it to be collapse by default so please tell me how to do that? As i slide down the panel or collapse it sliding…
Edward
  • 139
  • 3
  • 9
2
votes
1 answer

Android ImageButton ButtonState images are not displaying

I am working from Wallace Jackson's "Android Apps for Absolute Beginners", 3rd, ed. Currently at the end of Chapter 9 (p. 350). I have the PNG files in the resource directories, the imagebutton state files, and the main activity layout updated. I'm…
MrGoodfix
  • 317
  • 2
  • 14
2
votes
0 answers

How to reduce the size of top pane layout in SlidingPaneLayout

I'm having slidingpanelayout which slides right. I want to reduce the size of the top layout as follows
VinothKathir
  • 200
  • 2
  • 9
2
votes
1 answer

ListView inside of SlidingPaneLayout

I have an activity layout like this:
piojo
  • 1,919
  • 4
  • 24
  • 40
2
votes
2 answers

SlidingPaneLayout - faded views have strange background

I have problem with SlidingPaneLayout. When I open menu (made with spl), all views (textviews, imageviews, etc.) look like these textviews on screenshot (they have strange color around text, 25th is ok - this one is green when visible): How to fix…
2
votes
1 answer

how to make the elements in the sliding panel listen to the click events

I have created a demo application using AndroidSlidingPanel Library "https://github.com/umano/AndroidSlidingUpPanel" with a textview as the children. The problem is I cannot click on the label when I tried to click on the label panel slides…
2
votes
3 answers

Make Android "SlidingPaneLayout" push actionbar too

I am using android.support.v4.widget.SlidingPaneLayout to make a sliding menu. Alas, SlidingPaneLayout only pushes main contents, and does not include the action bar. I want this layout to push the action bar too! I would like the layout like this:
Cinakyn
  • 648
  • 1
  • 7
  • 20