Filling the screen

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Filling the screen

Postby scuba » Wed Jan 13, 2010 8:03 pm


I'm having a bit of difficulty understanding how to set up this layout. Basically regardless of the screen size I want one element at the top that will be the full width and 40 pixels tall, and another element that will fill the rest of the screen. When setting that second element to fill_parent vertically odd things happen with the layout.

In another way of explaining, if it was HTML I could use a table with the height set to 100% that has two rows, and set the top row to be 40px in height.

Junior Developer
Junior Developer
Posts: 19
Joined: Wed Nov 11, 2009 4:19 am


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests