I have used this code ----------------------------------------------------------------- <?xml version="1.0" encoding="utf-8"?>
<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" android:gravity="center|right" > <SlidingDrawer android:layout_width="100dp" android:id="@+id/SlidingDrawer" android:handle="@+id/slideHandleButton" android:content="@+id/contentLayout" android:layout_height="150dip" ==========> height of the sliding drawer. android:orientation="horizontal"> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/slideHandleButton" android:background="@drawable/closearrow" android:gravity="bottom"> </Button> <LinearLayout android:layout_width="wrap_content" android:id="@+id/contentLayout" android:orientation="vertical" android:gravity="center" android:padding="2dip" 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="" android:background="@+drawable/facebook"></Button> <Button android:id="@+id/Button02" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="" android:background="@+drawable/twitter"></Button> <Button android:id="@+id/Button03" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="" android:background="@+drawable/x"></Button> </LinearLayout> </SlidingDrawer> </LinearLayout> -------------------------------------------------------------------------- Hope this will help you. On Oct 31, 4:54 pm, sourabh sahu <[email protected]> wrote: > I too have problem > > On Mon, Oct 31, 2011 at 1:21 PM, vani reddy <[email protected]>wrote: > > > > > > > > > > > Hi there , > > How to limit the height of sliding drawer naturally to get it the same as > > like in iphone? > > -- > > Regards, > > Vani Reddy > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

