Hi there,

I am currently working on a video editing view for my app and I wanted to
include a sliding drawer with different video editing functions, but I
already ran into a problem with the slider itself because when tap it to
open, it opens fine, but when I tap it a second time to close it again, it
disappears entirely (the slider image moves off the screen). As I haven't
found anything similar I am hoping that someone here can help. Thank you in
advance.

Here is what I do to create the slider:
<RelariveLayout>
 ...

 <SlidingDrawer
     android:id="@+id/drawer"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
 android:orientation="horizontal"
     android:handle="@+id/handle"
     android:content="@+id/content">

     <ImageView
         android:id="@id/handle"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:src="@drawable/slider_handle"
         android:layout_centerVertical="true"
         android:layout_centerHorizontal="true"
         />

     <LinearLayout
         android:id="@id/content"
         android:layout_width="fill_parent"
         android:layout_height="fill_parent">
        <!-- CONTENT -->
     </LinearLayout>
 </SlidingDrawer>
</RelativeLayout>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to