I have two TableLayout widgets, created programatically in my Activity's onCreate() method.
Table1:
SomeTextCell1  SomeReallyReallyLongTextCell2  SomeTextCell3
Table2:
SomeOtherTextCell1  ShortTextCell2  SomeOtherTextCell3
Table1 is displayed directly above Table2.
I'm looking for a way to programatically assign the width of Table1's and Table2's cells (which are TextView widgets added to a TableRow) to be the same as the widest in that column (as the text in each cell can be a number of different values). Is this possible? Something like this:
Table1:
SomeTextCell1       SomeReallyReallyLongTextCell2  SomeTextCell3
Table2:
SomeOtherTextCell1  ShortTextCell2                 SomeOtherTextCell3
Getting the width in the onCreate() method of these TextView widgets just returns 0 which kinda makes sense as the UI hasn't laid out anything yet.  Is there an activity hook I can use once the layout is complete and myTextViewWidget.getWidth() will return a non-zero value?
 
     
    