1

It's there a way to make a vertical slider on Android?, for example, I want the action bar to be dragged all the way from top to bottom, to show a fragment, pretty much like the notification bar on Android.

Thank you very much

Valery Viktorovsky
  • 6,487
  • 3
  • 39
  • 47
NemesisDoom
  • 596
  • 6
  • 21
  • Check this link - http://stackoverflow.com/questions/3333658/how-to-make-a-vertical-seekbar-in-android – Prem Jan 15 '14 at 20:51
  • I don't that's what I'm looking for. I want, for example, to click a button on the action bar, and start sliding it down to the bottom, while doing that on the background a fragment it's being shown – NemesisDoom Jan 15 '14 at 20:55

3 Answers3

2

There used to be a slidingdrawer view as part of the framework but it's now deprecated. There is however a nice implementation of something similar on github that you can take a look at here:

https://github.com/umano/AndroidSlidingUpPanel

Damian
  • 8,062
  • 4
  • 42
  • 43
2

There is always a way ;), but it would take some custom code to do it. I don't really have to much time to write something out for you, but I did find something that may be useful to you. These guys open sourced a slide from bottom to top view like is used in Google Play Music. You can take a look and maybe modify it to slide from top to bottom.

https://github.com/umano/AndroidSlidingUpPanel

Good Luck

DejanRistic
  • 2,039
  • 18
  • 13
0

Umano's Drawer is dated and limited. You should use a more up-to-date library like https://github.com/drxeno02/androidprojects-book2-slidingdrawer.

This library has no limitations such as only having two children. You can have as many children as you want, and you can set offsets and design your drawer to look anyway you want.

portfoliobuilder
  • 7,556
  • 14
  • 76
  • 136