Monday, April 26, 2010

Re: [android-developers] Activity - get notified when all views are rendered

have u tried calculating at OnStart might be chance they are rendered.

On Thu, Apr 22, 2010 at 3:54 PM, vistaman <azgolfer@gmail.com> wrote:
I searched for all overidable methods of Activity and couldn't find
this: Basically I want to get notified or override a method when all
views in the current activity had been rendered. This is because I
need to get the measured heights of a couple of TextViews and then
resize other views accordingly. I can't do this in onCreate because
those views are not rendered yet. Any suggestions on how to achieve
this? Thanks.

--
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+unsubscribe@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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment