RE: [android-developers] Re: Is there a callback that gets called right after onResume() ?

2011-08-08 Thread Matt Tatro
://www.tungle.me/mtatro Description: tungle From: Kostya Vasilyev [mailto:kmans...@gmail.com] Sent: Saturday, August 06, 2011 12:01 PM To: android-developers@googlegroups.com Cc: Matt Tatro Subject: Re: [android-developers] Re: Is there a callback that gets called right after onResume

[android-developers] Re: Is there a callback that gets called right after onResume() ?

2011-08-07 Thread Jim
-developers@googlegroups.com] On Behalf Of Kostya Vasilyev Sent: Saturday, August 06, 2011 11:51 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Is there a callback that gets called right after onResume() ? Or one could use the tools already provided

[android-developers] Re: Is there a callback that gets called right after onResume() ?

2011-08-06 Thread Jim
There is no callback - you can set flags in onResume() to know when the activity is done with that part of the lifecycle. However, by using layout_weight, you're telling Android to decide the size, which it can't know until the screen is drawn, so a callback to change the size won't work without a

Re: [android-developers] Re: Is there a callback that gets called right after onResume() ?

2011-08-06 Thread Kostya Vasilyev
Or one could use the tools already provided by the framework ... ... by subclassing a xxxLayout class or a ViewGroup and overriding onMeasure and onLayout ... ... or by subclassing the appropriate view and overriding onSizeChanged ... -- Kostya 06.08.2011 20:42, Jim пишет: There is no

Re: [android-developers] Re: Is there a callback that gets called right after onResume() ?

2011-08-06 Thread Kostya Vasilyev
] Re: Is there a callback that gets called right after onResume() ? Or one could use the tools already provided by the framework ... ... by subclassing a xxxLayout class or a ViewGroup and overriding onMeasure and onLayout ... ... or by subclassing the appropriate view and overriding onSizeChanged