Example from API demos: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/Animation.html
http://developer.android.com/resources/samples/ApiDemos/res/anim/zoom_enter.html http://developer.android.com/resources/samples/ApiDemos/res/anim/zoom_exit.html On Mon, Apr 16, 2012 at 12:57 PM, guich <[email protected]> wrote: > I'm still searching. I found that with the ScaleAnimator i can achieve > what i need, but still trying with no success. This is the code i'm using: > > ScaleAnimation anim=new ScaleAnimation(1,1,0,0); > anim.setFillAfter(true); > anim.setFillEnabled(true); > anim.setInterpolator(new > android.view.animation.AccelerateInterpolator()); > anim.setDuration(1000L); > > This is the ImageView i'm creating to store the new image. This image is > updated by a native function. > > ImageView image = new ImageView(instance.getContext()); > image.setImageBitmap(sScreenBitmap); > image.setVisibility(ImageView.VISIBLE); > image.startAnimation(anim); > > This is called from another view. However, nothing happens on screen. > > TIA. > > -- > 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 > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

