posted 9 years ago
I will give you the same advice I gave you last time you asked this question: use a relative layout:
|-- App Title (aligned to parent top, aligned to parent left, aligned to parent right)
|-- Text Box (below Title, aligned parent left, aligned parent right)
|-- OK buttun (aligned to parent bottom, aligned to parent start)
|-- Cancel button (aligned to parent bottom, aligned to parent end)
|-- ListView (below TextBox, above OK button, aligned parent left, aligned parent right
The app title is forced to the top of the screen. The Text box is forced underneath it. The buttons are placed at the bottom of the screen, and the list fills the space in between.
You might want to reverse the OK and Cancel buttons - put the OK on the right / end and the Cancel on the left / start. This is an Android OS convention that makes your app fit better with user expectations.