2

Is it possible to position a SlidingDrawer so that the handle is just below the bottom of the screen?

The functionality that I'm going for is that a user will press a button (not attached to the drawer) to slide the drawer up from below the screen. From there the user is able to use the handle to slide it back down.

Brian
  • 953
  • 4
  • 15
  • 35

1 Answers1

-2

Use View#setVisibility(View.GONE) and View#setVisibility(View.VISIBLE) on the handle.

Diego Torres Milano
  • 65,697
  • 9
  • 111
  • 134
  • When switching to visible, though, am I correct in saying that it would just show the handle in full height instantly instead of sliding the handle up from the bottom of the screen? – Brian Nov 01 '11 at 21:59
  • Use an animation for that, handle.startAnimation(). – Diego Torres Milano Nov 01 '11 at 22:02