tags:

views:

182

answers:

0

Hi,

I use in my application a SlidingDrawer. In some activities I would like to not have the SlidingDrawer handle in the middle of the screen border but aligned with the bottom of the screen (while I'm in landscape mode).

My layout:

<?xml version="1.0" encoding="utf-8"?>

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

    <LinearLayout android:id="@id/handle"
        android:layout_width="wrap_content" android:layout_height="wrap_content"
        android:orientation="horizontal" android:background="@drawable/cmb_slider_closed_landscape">
    </LinearLayout>

    <LinearLayout android:layout_width="wrap_content"
        android:orientation="horizontal" android:layout_height="wrap_content"
        android:background="@color/white" android:id="@id/content">

    </LinearLayout>

</SlidingDrawer>

Any idea ?

Regards, Quentin