Best approach for multi-line multi textview layout

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Best approach for multi-line multi textview layout

Postby alexdemers » Wed Dec 16, 2009 7:42 pm

Hey,

I was wondering, what is the best way to show lots of text views next to each other and having them do a line break when it overflows horizontally?

Here's what I would like to achieve:

Image


I tried to add a linear layout and have text views inside them but it gets hidden when it overflows horizontally. The reason I want to have several text views is that each of them can be grey or black.

What is the best approach?

Thanks.
alexdemers
Freshman
Freshman
 
Posts: 5
Joined: Tue Aug 04, 2009 11:14 pm

Top

Postby stifry » Thu Dec 17, 2009 12:04 am

How about putting them in a GridView?

http://developer.android.com/guide/tuto ... dview.html

Jeff
Visit Trackaroo.com!
Trackmaster - Motorsports Lap Timer
Dynomaster - Performance Dyno
Image Image
User avatar
stifry
Developer
Developer
 
Posts: 46
Joined: Tue Feb 17, 2009 7:50 pm

Postby alexdemers » Thu Dec 17, 2009 12:17 am

I don't know how many results I'll have.
alexdemers
Freshman
Freshman
 
Posts: 5
Joined: Tue Aug 04, 2009 11:14 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot] and 5 guests