try using 1 linear layout with a TableLayout tag inside then TableRow
inside of that.  Make sure  your TableLayout has the attribute
android:stretchColumns="*"
this should do it!

On Jun 23, 10:16 pm, ayush <ayushv2...@gmail.com> wrote:
> its hard to figure out without looking at your XML content. my guess
> is that you are using the "fill_parent" value for the layout_width of
> your linear layouts and the ImageView. replace this by "wrap_content"
> or alternatively specify the exact width in pixels that you want each
> of the 3 linear layouts to be. you will also have to use the same
> value on the ImageView.
>
> On Jun 23, 5:13 am, Carl <carl...@gmail.com> wrote:
>
> > Why has it got to be soooo difficult?  For a week now I’ve been
> > reading and playing around with code and have still not found the
> > answer!!!!
>
> > I want a simple 3 column layout, with images going from bottom to top
> > in each.
> > Whenever I put 3 LinearLayouts next to each other in the Activity, the
> > first one takes up all the space.
> > That is if I add an ImageView to it in the XML. If I don’t then all
> > none of the Layouts appear.
>
> > Very frustrated and about to quit Android altogether. Please help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to