I've managed this now. In case it's of use to anyone else, I achieved it by overriding the onDrawerOpen function and using it to call handle.setBackgroundResource(0). This effectively removes the handle when the drawer is as open as it can go, allowing the drawer to slide to cover the full screen.
On Mon, Jan 31, 2011 at 2:31 PM, Cliff Davies <cliff.dav...@gmail.com>wrote: > I'd like to use a regular SlidingDrawer but with one exception - when it's > open I'd like it to completely fill the screen (so that even the handle > slides from the screen). I can do this by setting a negative topOffset in > the XML but need to know the size of the drawer's handle before I can know > the value to put in topOffset. Is there a way of setting topOffset other > than through the XML? If there's no other way, I'll write a new class based > on SlidingDrawer, but that seems excessive for the sake of setting one > variable. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en