onMeasure() is not related to the Activity life cycle. It is called whenever the layout changes (requestLayout() called) or the first time a window is laid out.
On Mon, Jul 12, 2010 at 2:48 PM, TreKing <[email protected]> wrote: > On Mon, Jul 12, 2010 at 3:09 AM, Klaus Kartou <[email protected]> wrote: >> >> However it would be nice to know if there is a rule that relates onMeasure >> to the activity lifecycle? > > I doubt onMeasure has anything to do with the activity lifecycle. More than > likely it has to do with the activity rendering and gets called whenever a > redraw happens. This is just a guess though. > Short of someone giving you the answer, you could figure this out by either > looking at the source code or implementing all those onWhatever functions > and logging when they get called. > Have fun. > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered devices > http://sites.google.com/site/rezmobileapps/treking > > -- > 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 -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- 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

