Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6359891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:34:43+00:00 2026-05-24T23:34:43+00:00

I want an animated gif, since this isn’t possible in Android I am using

  • 0

I want an animated gif, since this isn’t possible in Android I am using individual frames in a transition.

except it seems like the transition class only will show two frames ever! I saw other animation methods but they didn’t seem to apply to what I was doing, or seemed old and convulated like for an older infant android build

<transition xmlns:android="http://schemas.android.com/apk/res/android">
  <item android:drawable="@drawable/activateanima"></item>
  <item android:drawable="@drawable/activateanimb"></item>
  <item android:drawable="@drawable/activateanimc"></item>
  <item android:drawable="@drawable/activateanimc"></item>
  <item android:drawable="@drawable/activateanimd"></item>
  <item android:drawable="@drawable/activateanime"></item>
  <item android:drawable="@drawable/activateanimf"></item>
  <item android:drawable="@drawable/activateanimg"></item>
</transition>

How do I animate an image to behave like an animated gif, in place. no rotations or translations here. Using android 2.1+

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T23:34:43+00:00Added an answer on May 24, 2026 at 11:34 pm

    Are you after a Frame animation? See: here. This will play a standing still animation.

    Example from above site:

    XML file saved at res/anim/rocket.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <animation-list xmlns:android="http://schemas.android.com/apk/res/android"
        android:oneshot="false">
        <item android:drawable="@drawable/rocket_thrust1" android:duration="200" />
        <item android:drawable="@drawable/rocket_thrust2" android:duration="200" />
        <item android:drawable="@drawable/rocket_thrust3" android:duration="200" />
    </animation-list>
    

    To use:

    ImageView rocketImage = (ImageView) findViewById(R.id.rocket_image);
    rocketImage.setBackgroundResource(R.drawable.rocket_thrust);
    
    rocketAnimation = (AnimationDrawable) rocketImage.getBackground();
    rocketAnimation.start();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to add animated pictures (GIF) on my wall like this http://www.facebook.com/tc.turkiy3m.tc?sk=app_4949752878 How
I am in need of reading the individual frames of an animated GIF in
I have a animated GIF that I want as a watermark. How do I
I have some jpg files i want to create gif animated from them. i
I want it to be animated so I'm using [UIView beginAnimations] I've tried animating
I want to replace the standard dijit.ContentPane loadingMessage with a animated GIF instead of
I'm trying to load an animated GIF in a JLabel. While this works: URL
I want to be able to take an animated GIF as input, count the
I have a loader animated gif that I want to hide and show during
I want to change JQGrid Loading... message to something with animated gif image. Looked

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.