Hi,


Am 23.08.11 19:05, schrieb Dianne Hackborn:
> You need to participate in the view hierarchy as a layout manager, do
> get the onSizeChanged() calls and such.
> 
> Code like this is almost guaranteed to be broken.  If you want to do
> stuff based on view layout, implement a layout manager.

thank you for your answer... but it doesn't make sense for me :-(

View.getHeight() is the right way to get the height of a View, right?

Activity.onConfigurationChanged(Configuration newConfig) is the right
way to stay informed that the configuration has changed, right?

But the combination of both are wrong?

I only want to know the size of an ImageView after the change of the
device orientation. I need this to calculate a Matrix for this ImageView.



Ralph

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to