Mark,

Thanks! That looks much better!!

Mark

On Thu, Oct 20, 2011 at 12:38 PM, Mark Murphy <mmur...@commonsware.com>wrote:

> Use android:stretchColumns="1" to have the aaaaaa/gggggggg column
> stretch based upon the text length. android:stretchColumns can take a
> comma-delimited list of columns if you have more than one you want to
> stretch.
>
> On Thu, Oct 20, 2011 at 3:01 PM, Mark Phillips
> <m...@phillipsmarketing.biz> wrote:
> > I am new to Android, but not Java. I am trying to use the TableLayout to
> > create the following table:
> >
> > |A: |aaaaaaaa  |10| 4|12|x|eee e|
> > |F: |gggggggggg| 3|24| 8| |34:89|
> >
> > Two rows, with some text of varying length. The capitalized text is
> fixed,
> > the lower case and numbers change as the program runs. I need to keep the
> > columns aligned, as well as the numbers.
> >
> > I want the two rows to span the width of the screen, so there needs to be
> > some variable padding in the cells to keep the columns aligned. How do I
> do
> > that?
> >
> > Mark
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, One Low Price!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to