Take a look at a GridView.  I'm using it in such a fashion right now.

On Mon, Jan 4, 2010 at 11:39, Marc <[email protected]> wrote:

> I have been trying to create layouts that will work on various device
> screen sizes. I keep running in to cases where I want to line things
> up horizontally and have them wrap around if the screen is not wide
> enough.
>
> For example in landscape mode I might have
> () Radio Button 1     () Radio Button 2     () Radio Button 3     ()
> Radio Button 4    () Radio Button 5   () Radio Button 6
>
> but in portrait I would have
> () Radio Button 1     () Radio Button 2     () Radio Button 3
> () Radio Button 4    () Radio Button 5   () Radio Button 6
>
>
> I have the same issues with text view and edit text combinations
> for a wide screen I would like
> TextView    EditText
>
> for a narrow screen I would like
> TextView
> EditText
>
> It seems like there should be some way of getting views to wrap around
> to a new line if there is no room, just like a text string does.
>
> I know I can have separate layouts for different screen sizes. I am
> hoping to find something more elegant.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to