Re: [android-developers] getHeight() of TextView in TableRow problem

2009-11-28 Thread Romain Guy
The height is set only after the first layout pass has occurred. You are calling getHeight too early. On Nov 28, 2009 12:26 PM, "Dominik Erbsland" wrote: I have a very odd problem - or perhaps it's just odd to me. I have an Activity in which I have a TableLayout. I fill the table with TableRows

[android-developers] getHeight() of TextView in TableRow problem

2009-11-28 Thread Dominik Erbsland
I have a very odd problem - or perhaps it's just odd to me. I have an Activity in which I have a TableLayout. I fill the table with TableRows in which I display TextViews. Imagine this as a classical table with text content. After the loop is finished I want to read all the heights in pixels of al