vistaman 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.

The official answer is for you to write your own custom layout manager
and use that, instead of using LinearLayout, RelativeLayout, etc. That
can then find the sizes and do the calculations you need.

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

_The Busy Coder's Guide to Android Development_ Version 3.0
Available!

-- 
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