[android-developers] SlidingDrawer Widget
Hi all, Has anyone used the sliding drawer widget? I'm trying to get the widget to slide out from top to bottom, but right now it only seems to support bottom to top or right to left. Any suggestions on how to get it to slide out from the top? Thanks in advance, Becca -- 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
Re: [android-developers] SlidingDrawer Widget
Has anyone used the sliding drawer widget? I'm trying to get the widget to slide out from top to bottom, but right now it only seems to support bottom to top or right to left. Any suggestions on how to get it to slide out from the top? I do not believe it supports that direction. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- 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
[android-developers] SlidingDrawer widget hidden by GLSurfaceView while sliding
Reposting as somehow got lost last time ... Hi, I'm having a problem using the SlidingDrawer widget along with a GLSurfaceView as the View that is 'underneath' the drawer (ie. when the drawer opens it should cover the GLSurfaceView in the same way the main applications drawer on the home screen covers the home screen). What happens is that the SlidingDrawer appears to slide *under* the GLSurfaceView and not on top of it. Once fully open it then shows up properly but during the slide it is underneath. I have tried using bringToFront() on the SlidingDrawer to force it to be on top of the GLSurfaceView but it does not help. Neither does calling onPause() on the GLSurfaceView before sliding. My layout xml file is as follows: ?xml version=1.0 encoding=utf-8? FrameLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent GLSurfaceView android:id=@+id/glview android:layout_width=fill_parent android:layout_height=fill_parent / SlidingDrawer android:id=@+id/drawer android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical android:bottomOffset=7px android:handle=@+id/handle android:content=@+id/content ImageView android:id=@id/handle android:focusable=true android:clickable=true android:scaleType=center android:src=@drawable/icon android:layout_width=fill_parent android:layout_height=44dip / ImageView android:id=@id/content android:src=@drawable/robot android:layout_width=fill_parent android:layout_height=fill_parent / /SlidingDrawer /FrameLayout Any thoughts? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] SlidingDrawer widget hidden by GLSurfaceView while sliding
Hi, I'm having a problem using the SlidingDrawer widget along with a GLSurfaceView as the View that is 'underneath' the drawer (ie. when the drawer opens it should cover the GLSurfaceView in the same way the main applications drawer on the home screen covers the home screen). What happens is that the SlidingDrawer appears to slide *under* the GLSurfaceView and not on top of it. I have tried using bringToFront() on the SlidingDrawer to force it to be on top of the GLSurefaceView but it does not help. Neither does calling onPause() on the GLSurfaceView before sliding. My layout xml file is as follows: ?xml version=1.0 encoding=utf-8? FrameLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent GLSurfaceView android:id=@+id/glview android:layout_width=fill_parent android:layout_height=fill_parent / SlidingDrawer android:id=@+id/drawer android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical android:bottomOffset=7px android:handle=@+id/handle android:content=@+id/content ImageView android:id=@id/handle android:focusable=true android:clickable=true android:scaleType=center android:src=@drawable/icon android:layout_width=fill_parent android:layout_height=44dip / ImageView android:id=@id/content android:src=@drawable/robot android:layout_width=fill_parent android:layout_height=fill_parent / /SlidingDrawer /FrameLayout Any thoughts? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---