[android-developers] AlignParentBottom in RelativeLayout (wrap_content)

2011-08-03 Thread Mark Gjøl
I am trying to make a RelativeLayout with an image centered in the bottom, and a line spanning the bottom. The layout should have the height of the image, and fill the width. All of this is in a linear layout with other things in it. See code below for reference. Problem is: As soon as I insert

Re: [android-developers] AlignParentBottom in RelativeLayout (wrap_content)

2011-08-03 Thread Kostya Vasilyev
03.08.2011 17:25, Mark Gjøl пишет: Problem is: As soon as I insert the view (with alignParentBottom) my RelativeLayout fills the entire view (minus what came before it in the LinearLayout). Is this a bug? I can force what I want by setting a specific height to the RelativeLayout (eg. 12dp) but