Android - Fill Layout with Buttons

Posted by GuyNoir on Stack Overflow See other posts from Stack Overflow or by GuyNoir
Published on 2010-03-13T22:33:59Z Indexed on 2010/03/13 22:35 UTC
Read the original article Hit count: 172

Filed under:
|
|
|

Just a quick question about how you would go about implementing this. I want there to be buttons at the bottom of the screen, but if the screen size is larger, more buttons would be added.

For example, at a small screen size, there might be 4-5 buttons at the bottom, but if you ran it on a tablet or something similar, there would be maybe 20 buttons.

Any suggestions? It can't scroll either, it just has to dynamically fill the layout with buttons.

Thanks.

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk