Thursday, June 6, 2013

[android help] Dynamic Layout android

Dynamic Layout android - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















I'm new in Android and it seems I cannot find the right layout for my problem. I have a bunch of button (also added dynamically during the execution of the app) that I want to display in a column. I have used a LinearLayout (Vertical) and it does the works pretty well in a tablet. The problem is that on smaller screen, like phones, there's not enough space to visualize all the buttons and half of them are not shown. Is that a layout that allows me to do either something like "show all the button in a column, and then when there's no more space, start piling up in the next column", or that resize the button in order to fit them all on one column of the screen? I have tried with GridLayout but with no success (i.e. even setting the android:columnCount=3 I didn't notice any change), any idea?
















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default






.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...