Just to understand you correctly!
>Also, apply the new layout params when the animation ends.
Do you mean register an AnimationListener and call setLayoutParams(...) in
onAnimationEnd(...)?
-Ursprüngliche Nachricht-
Von: android-developers@googlegroups.com
[mailto:android-develop...@goo
I tried requestLayout() but it still doesn't work.
Maybe I use the wrong order?
1. button.setAnimation(...);
2. button.requestLayout();
3. button.setLayoutParams(new AbsoluteLayout.LayoutParams(width, height, x,
y));
Do I have to call button.postInvalidate() also?
-Ursprüngliche Nachricht-
I changed it this way:
button.setLayoutParams(new AbsoluteLayout.LayoutParams(width, height, x,
y));
-Ursprüngliche Nachricht-
Von: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] Im Auftrag von Romain Guy
Gesendet: Montag, 16. Februar 2009 20:42
An: andr
3 matches
Mail list logo