How to tween image?

Put your problem here if it does not fit any of the other categories.

How to tween image?

Postby ramesh_bh » Thu Dec 23, 2010 11:31 am

HI,

I want to put some effect for the images in my app. i want to change my banner images for a specific period of time,
can anyone tell me how to do this ? Here i have tried some what but no result
Code: Select all
    setContentView(R.layout.main);
        imgView = (ImageView )findViewById(R.id.image1);
        imgView.setBackgroundResource(R.drawable.spin_animation);
        AnimationDrawable ad = (AnimationDrawable) imgView.getBackground();
       
        ad.start();
        ad.run();

Please help ?
ramesh_bh
Junior Developer
Junior Developer
 
Posts: 20
Joined: Thu Oct 07, 2010 4:58 am

Top

Re: How to tween image?

Postby strider2023 » Thu Mar 03, 2011 10:00 pm

Are u asking for something like a splash screen??
strider2023
Senior Developer
Senior Developer
 
Posts: 126
Joined: Tue Mar 02, 2010 6:34 am
Location: Chennai, India

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 23 guests