I have a question about filling the remaining area of a layout. Lets say I have relative layout with a specified width, then a left aligned text view. To the right of the text view I want to put an edit text whose with is the remaining width of the layout. I can't seem to find any way of doing this. Below is is a rendering of what I'm trying to do. Does anyone have any ideas?