Hi,

i'm having a problem:

i've created a sliding drawer with a specific height, at the bottom of
the screen.
The problem is, when the height of the SlidingDrawer is set as
"fill_parent", everything works great, but when i set the height as
for instance, "150dip", the SlidingDrawer moves to the top of the
screen..

is that a common issue? I can't seem to find any user with same
problem :S

My code btw:


<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:layout_width="wrap_content"
android:layout_height="wrap_content">

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

                <ImageView android:id="@+id/handle"
android:layout_height="wrap_content"
                        android:layout_width="wrap_content" 
android:src="@drawable/
ntrack"></ImageView>

                <LinearLayout android:layout_height="fill_parent" 
android:id="@+id/
content"
                        android:layout_width="fill_parent" 
android:orientation="vertical">

                        <TextView android:id="@+id/txt" android:text="This is 
some text"
                                android:layout_width="wrap_content"
android:layout_height="wrap_content">
                        </TextView>

                        <Button android:id="@+id/btn" android:text="Click Me"
                                android:onClick="ClickHandler" 
android:layout_width="wrap_content"
                                android:layout_height="wrap_content"></Button>

                </LinearLayout>
        </SlidingDrawer>

</RelativeLayout>

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

Reply via email to