Hello all,

I am trying to implement "Sliding Drawer" in my application using the
below xml layout:

<LinearLayout android:id="@+id/LinearLayout01"
 android:layout_width="fill_parent"
android:layout_height="fill_parent"
 xmlns:android="http://schemas.android.com/apk/res/android";
 android:background="@drawable/androidpeople">

 <SlidingDrawer
  android:layout_width="wrap_content"
  android:id="@+id/SlidingDrawer"
  android:handle="@+id/slideHandleButton"
  android:content="@+id/contentLayout"
  android:layout_height="75dip"
  android:orientation="horizontal">

  <Button
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
   android:id="@+id/slideHandleButton"
   android:background="@drawable/closearrow">
  </Button>

  <LinearLayout
   android:layout_width="wrap_content"
   android:id="@+id/contentLayout"
   android:orientation="horizontal"
   android:gravity="center|top"
   android:padding="10dip"
   android:background="#C0C0C0"
   android:layout_height="wrap_content">


   <Button android:id="@+id/Button01"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Content"></Button>
   <Button android:id="@+id/Button02"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Content"></Button>
   <Button android:id="@+id/Button03"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Content"></Button>

  </LinearLayout>

 </SlidingDrawer>
</LinearLayout>

But Sliding drawer is sliding from Right-to-Left (Horizontal),
but what if i want to make it slide from Left-to-Right (Horizontal) ??

-- 
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

Reply via email to