I'm not sure where the dimensions are set exactly, but have you tried putting it in onResume? I think dimensions are set at that point.
On Sun, Feb 20, 2011 at 8:58 PM, dashman <[email protected]> wrote: > i'd like to animate a view... > > but it's dependent on the dimensions of the view and parent. > > during oncreate() these dimensions are not set - so no animation. > > is there a way to get a notification once the view has been > inflated. > > -- > 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 -- 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

