Ok first, I read articles about animations. Animation 101 for instace
and the doc on http://d.android.com and still haven't found any
answers.
In case you're tempted to direct me to the ScaleAnimation...it's not
what I want. It actually scale(stretch) the view.
The problem:
I have a UI design, that hide some information in a separator with a
double arrow in the middle. When the user click the arrow, it would
expand the separator to display details about the story.
I don't know how to get the height of the inner child. It always
return 0. Even if I resize the parent view with:
sep.setLayoutParams(new
LinearLayout.LayoutParams(LinearLayout.LayoutParams.FILL_PARENT,
1000));
Is there any reasons why inner.getHeight() and
inner.getMeasuredHeight() always return 0 in ANY case. this view has a
wrap_content layout. Even if I want to handle animations in a
different thread or in the UI thread. I can't do that without knowing
how much I have to resize to.
For JQuery litered developers. I attempt to do a slideDown effect and
hopefully a slideUp to resize the separator to 2pid of height.
--
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