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

Slidingdrawer no return point

I'm using a SlidingDrawer for a lock screen. My problem is the handler closed when I drag to the middle of the slidindrawer. I want it only keep closed when I drag to be closed. In all other cases the handler must be animate to open. I'm trying to…
Joterito
  • 153
  • 2
  • 15
-1
votes
1 answer

Button Click and Change Text with Sliding Root Navigation Drawer

I am trying to create a logout button on the Sliding Root Navigation which I found here This is my main activity class HomeScreenActivity : AppCompatActivity() { private lateinit var binding: ActivityHomeScreenBinding private lateinit var…
-1
votes
1 answer

Android multi window launcher sidebar

I want this drawerLayout(bellow photo) to always open like Samsung multiwindow sidebar. Till now I am able to open this drawerLayout(sidebar) within the app. please give the instruction to be able to open this draweLayout(sidebar) from anywhere(I…
-1
votes
2 answers

net.simonvt.menudrawer.SlidingDrawer not working in kitkat. But working in Lollipop

net.simonvt.menudrawer.SlidingDrawer is not working in Android Kitkat. But working in Android Lollipop. Getting error java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams I…
APR
  • 71
  • 1
  • 9
-1
votes
1 answer

What can i use instead of a Sliding drawer

im making a launcher app. in the tutorial it uses a Sliding Drawer which deprecated in Api 17. what could i use instead of this? i tried using the Slideup Panel from one of the posts on here link Below to the gitHub…
P9p studios
  • 69
  • 1
  • 8
-1
votes
1 answer

buttons in sliding drawer are not responding

I am creating an project of android application by linking MySQL database using PHP. I am facing a problem that the click event on a button in sliding drawer is not working. layout of sliding drawer
-1
votes
1 answer

Q: SlidingDrawer is Not Scrolling Up

My SlidingDrawer is working but not Scrolling Up enough. Handle when come to bottom of the "MENÜYE DÖN" button, stopping! I can't scroll more. I know SlidingDrawer is deprecated but I do not know the alternative. I can see in Preview,…
-1
votes
1 answer

Working with Map and Sliding Drawer

I am Developing a App which is a Taxi calling App juss like Uber Ola etc. i am working with sliding Drawer and added Map in "Home" fragment... i am having problem that when i go back to "Home" fragment from another fragment , The App get force…
Jinal
  • 1
  • 2
-1
votes
1 answer

Android Navigational Drawer activate w/ button

since i am quite new to Android i am trying to create a Navigational Drawer that gets activated when pressing a button. I checked several tutorials like this one but in all of them the drawer gets activated when an Actionbar button is pressed. One…
Ilias S.
  • 31
  • 6
-1
votes
1 answer

What Library and widgets should I use in order to develop a kind of side-sliding bar?

I want to develop something like this Pic of a side sliding bar I have researched and there are ressources like NavigationDrawer and ActionBarSherlock for similar Tasks but I haven't found anything like this. SlidingDrawer could help but I have…
Gödel77
  • 839
  • 3
  • 15
  • 27
-1
votes
1 answer

sliding drawer doesn't perfectly work

slider is work from left to right but their content not display perfectly. any new idea or way to use slider to overlap main screen like sliding drawer.
-1
votes
1 answer

Android: MenuDrawer/SlidingMenu/SlidingDrawer as system overlay

For my application, I want to add a certain type of drawer as a system overlay. The handle for the drawer has to be small, while the menu itself should be able to cover the whole screen. Could anyone help please? Problems with each type of…
mDroidd
  • 1,213
  • 4
  • 17
  • 25
-1
votes
1 answer

How to use android-undergarment library

I am trying to use the android-undergarment library to create a side menu but I don't seem to be able to figure out how to add items to the listview layout I supplied to the constructor. Any help will be appreciated.
euniceadu
  • 868
  • 16
  • 34
-1
votes
1 answer

close a opened slidingdrawer when touching outside of the slidingdrawer (fragment)

i have a class which extends fragment. i have a slidingdrawer which i want to do is, if the slidingdrawer is opened then when user touch outside the slidingdrawer, it should automatically closed. my code for manually open and close is like: …
Shoshi
  • 2,254
  • 1
  • 29
  • 43
-1
votes
2 answers

Laying out 2 rows of 3 buttons in SlidingDrawer

this is my fifth day of Android development so be gentle! I am trying to place two rows of three buttons into my SlidingDrawer, this is what I have so far but I can't understand why the second row of buttons are not visible?
1 2 3
29
30