I need help - i am new to android, and i couldn't solve my problem at
my own, so i'm posting here -
I've got an image animation, a few buttons, and an animation files
( xml) written. What i want to do, is to make a button animation ( i
don't know to bound a button with an animation) , following
On 12 March 2012 16:47, Tytanit tyta...@gmail.com wrote:
I need help - i am new to android, and i couldn't solve my problem at
my own, so i'm posting here -
I've got an image animation, a few buttons, and an animation files
( xml) written. What i want to do, is to make a button animation ( i
hi
I have a problem with an animation of a button.
I would move and fade a button from a origin position to another
position. well i created a translate animation and fade animation, i
start the animation with the follow code:
AnimationSet exchangeAnimation = new AnimationSet(true);
On Fri, Oct 14, 2011 at 2:49 AM, F4L|{0 simone.dolcio...@gmail.com wrote:
somebody can help me on how to correctly position the hit area of
the button?
AFAIK, animations only make it look like an object is moving / scaling /
whatever. The actual position / size / whatever of the View in
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:
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
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
7 matches
Mail list logo