On Tue, Nov 9, 2010 at 6:20 PM, Emre A. Yavuz <[email protected]> wrote:
> I have a TableLayout and I populate its columns (and rows) dynamically by
> calling the setText() method whenever the corresponding values are updated.

There is no setText() on TableLayout AFAIK. I am assuming you are
referring to a TextView you have a in a table cell.

> How can I be sure that the new value of a certain table location will fit
> into its allocated space to avoid any runtime errors ?

The table automatically resizes based on its contents and rules, and
so there should not be any runtime errors, AFAIK. If you have evidence
to the contrary, post a sample app somewhere.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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

Reply via email to