[android-developers] SlidingDrawer - Setting height moves the view up

2012-01-24 Thread joaocruz04
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 to

Re: [android-developers] SlidingDrawer - Setting height moves the view up

2012-01-24 Thread YuviDroid
Are you setting "fill_parent" to the SlidingDrawer or RelativeLayout (in your code there is 200dp, so I'm not sure)? Anyway, since you are using a RelativeLayout you can try setting on the SlidingDrawer android:layout_alignParentBottom="true". (maybe though you'll need to set the RelativeLayout hei