://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
-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
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
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: 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
5 matches
Mail list logo