Questions tagged [slidingdrawer]

SlidingDrawer is an Android View Widget that hides content out of the screen and allows the user to drag a handle to bring the content on screen.

From official documentation of SlidingDrawer class:

SlidingDrawer hides content out of the screen and allows the user to drag a handle to bring the content on screen. SlidingDrawer can be used vertically or horizontally. A special widget composed of two children views: the handle, that the users drags, and the content, attached to the handle and dragged with it. SlidingDrawer should be used as an overlay inside layouts. This means SlidingDrawer should only be used inside of a FrameLayout or a RelativeLayout for instance. The size of the SlidingDrawer defines how much space the content will occupy once slid out so SlidingDrawer should usually use match_parent for both its dimensions.

Tag Usage:

441 questions
56
votes
6 answers

Android: can height of SlidingDrawer be set with wrap_content?

I'm trying to implement a SlidingDrawer that will occupy the full screen width, but whose height is determined dynamically by its contents: in other words, standard fill_parent layout behaviour for the width and wrap_content for the height. That's…
Mark Whitaker
  • 8,465
  • 8
  • 44
  • 68
29
votes
4 answers

Menu like SKOUT and Sliding from One View to Another by touch in Android

I want to implement a sliding Menu like FB or G+ app and I have found some sample code from FB Menu Demo and https://github.com/jfeinstein10/SlidingMenu These are good to begin with, But I need something extra from them. Like here it works only on…
25
votes
10 answers

Getting DrawerLayout to Slide over the ActionBar

I have a sliding drawer menu in an activity, which has an actionbar with some tabs on it. I'd like to get the sliding drawer to slide over the tabs , not below them. This is what it looks like right now... Any ideas on how this could be…
Archit
  • 887
  • 2
  • 10
  • 19
24
votes
1 answer

CustomDrawerLayout from four screen sides issue with Fling gesture and detection

I am trying to create and improve existing SlidingDrawers projects that can work for all four sides of the screen {LEFT, RIGHT, TOP, BOTTOM}. There are a few libraries, however, they all have limitations, complications and bugs. One of the more…
portfoliobuilder
  • 7,556
  • 14
  • 76
  • 136
22
votes
2 answers

SlidingDrawer deprecated

I just noticed that since API 17 the SlidingDrawer it's been deprecated. the comment on it says: This class was deprecated in API level 17. This class is not supported anymore. It is recommended you base your own implementation on the source code…
Mario Lenci
  • 10,422
  • 5
  • 39
  • 50
21
votes
3 answers

What is the alternative of SlidingDrawer which is deprecated? For sliding up from bottom

Hey I need some sliding menu from bottom of screen. And I saw that the SlidingDrawer is deprecated. So what is the alternative to SlidingDrawer which I can use for sliding up from bottom. I know there is the NavigationDrawer, but I think that's…
user2940365
21
votes
4 answers

How to make an Android SlidingDrawer slide out from the left?

I'm using a slidingDrawer in my application that has its handler placed at the bottom when in portrait mode. When the user switches to landscape mode (widescreen) I would like to have the handler located on the left. When I change the orientation…
Vidar Vestnes
  • 42,644
  • 28
  • 86
  • 100
20
votes
7 answers

Android SlidingDrawer doesn't disable buttons 'under' the drawer

This is the scenario: I have a button B, and a slidingdrawer that when pulled out covers the entire screen. When I pull out the screen, and touch the screen where B used to be visible, its action is still executed. How can I get around this? I…
Soroush Hakami
  • 5,226
  • 15
  • 66
  • 99
18
votes
3 answers

sliding drawer appear in all activities

I am developing an application that contains many activities and i created my own menu (i don't want to use the built in menu button) with the Sliding Drawer as the sliding drawer is at the bottom of the screen and contains my menu buttons what i…
Zak
  • 571
  • 2
  • 6
  • 13
16
votes
5 answers

How can I disable a view behind my SlidingDrawer in Android?

I have a SlidingDrawer that pops up from the bottom of the screen and fills the screen about 80%. Even though the SlidingDrawer view is in focus, it is still possible to click on items, buttons and other elements in the view that is behind the…
Sara
  • 3,733
  • 6
  • 26
  • 30
13
votes
5 answers

Z-index in android?

I've more than one element in one xml.. listview,slidingdrawer,edittext and button... i want to sliding drawer order is always in front of another elements...but i can't.. here my xml
ltvie
  • 931
  • 4
  • 19
  • 48
11
votes
1 answer

Android Drawer Layout Can't Find R.layout.drawer_list

I am about two weeks in to Android development, and I'm sure there is a very simple answer to this, but will be needing to create a drawer slider for my application. Unfortunately, I cannot seem to find R.layout.drawer_list for my adapter set-up. I…
Elliott
  • 147
  • 2
  • 11
11
votes
1 answer

SlidingDrawer over GoogleMap

First of all, I know the SlidingDrawer is deprecated, but I haven't found any alternative to it so I'm using it anyways :3 (If someone knows an alternative to it, please share it!) So I have a GoogleMap in my activity (actually a fragment but it…
10
votes
2 answers

iOS: Sliding UIView on/off screen

I'm working on an app where having a "drawer" on the left-hand side would be very beneficial. I'm doing some initial testing to see how I would best accomplish this, and I'm having some very basic trouble. My Setup 1. I am using a single-view…
mbm29414
  • 11,558
  • 6
  • 56
  • 87
10
votes
2 answers

Android: SlidingDrawer disappears under SurfaceView

I'm trying to create a SlidingDrawer with LinearLayout content over a FrameLayout. At first it all seems fine, I get my SlidingDrawer's handle at the bottom of the screen. But then, if I start dragging the handle up and the content starts showing,…
ykrasik
  • 205
  • 3
  • 8
1
2 3
29 30