Steve Luke wrote:Then you are using the wrong layout. Use a RelativeLayout with the custom view set to above the button and the button set to align with the parents bottom
But if I do that,
then the button is at the bottom, but MyView takes all the screen space, I can see it even behind (or maybe on top of), the button.
Changing MyView's layout_height attribute to either "fill_parent" or "wrap_content" still gives the same result.