wood burning stoves*
The moose likes Android and the fly likes Layout question. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Android
Bookmark "Layout question." Watch "Layout question." New topic
Author

Layout question.

Darrin Smith
Ranch Hand

Joined: Aug 04, 2003
Posts: 276
This isn't so much Java, but it sure is an Android question.

I'm having trouble adding some buttons underneath a scroll view.

What I want is a tab pane, with a header row, then a scroll view of a table containing a variable number of rows, then two buttons side by side.

What I have is this:




What do I need to do to get the buttons at the bottom of tab1 just below the scroll view? Everything looks just great except for the buttons!

THANKS!
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
This is pure speculation, but if you want the buttons at the bottom, then it's probably not a good idea to have anything after them (like the other scroll view).

What's it doing as it is? You mention that it doesn't do what you were expecting, but not what it does do.
Darrin Smith
Ranch Hand

Joined: Aug 04, 2003
Posts: 276
Lester Burnham wrote:This is pure speculation, but if you want the buttons at the bottom, then it's probably not a good idea to have anything after them (like the other scroll view).

What's it doing as it is? You mention that it doesn't do what you were expecting, but not what it does do.


The scroll view at the bottom is for the second tab.

What it does now is display everything perfectly (tabs included) but the buttons are on top of the scroll area and on top of one another.

I tried adding various layouts around the buttons but the thing would crash every time I did it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Layout question.