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 6188155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:10:56+00:00 2026-05-24T02:10:56+00:00

I want an Background image and another image that is moving down over the

  • 0

I want an Background image and another image that is moving down over the background image and when it reaches at bottom then it stops there? How can I do this.
“It can be same as street image over which leaves are falling”

  • 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-24T02:10:57+00:00Added an answer on May 24, 2026 at 2:10 am

    At the bottom create a layout and in that layout add an imageview(keep your image as a background image for this image view) and apply translate animation on the layout. In the XML make the layout invisible and in your code make it visible

    You should have this code in ur XML. set this layout at the bottom and change the height , width and visibility according to ur need. Remember ur activity shd implement animationListner

           <LinearLayout
     android:id="@+id/linearLayout3"
     android:layout_width="wrap_content"
     android:layout_height="220dip"
     android:orientation="vertical"
    
     android:layout_marginTop="480dip"
    
     >
    <ImageView android:id="@+id/imageview" 
       android:layout_width ="wrap_content"
       android:layout_height ="wrap_content"
       android:visibility="invisible" 
       android:layout_centerVertical="true"
       android:layout_centerHorizontal="true" 
       android:background="@drawable/stoke1">
    </ImageView>
    </LinearLayout>    
    

    The java code is like this

             Animation movement5; 
      layout3 = (LinearLayout) findViewById(R.id.linearLayout3);
    
    
     movement5 = AnimationUtils.loadAnimation(this,R.layout.animation_test5);
        movement5.reset();
            movement5.setfillafter(true)
        movement5.setAnimationListener(this);
             layout3.startAnimation(movement5);
    

    animation_test5.xml .

           <?xml version="1.0" encoding="utf-8"?>
         <translate xmlns:android="http://schemas.android.com/apk/res/android"
       android:fromXDelta="0%" android:toXDelta="0%" android:fromYDelta="-300%"
      android:toYDelta="100%" android:duration="3000" android:zAdjustment="normal" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to center a background image. There is no div used, this is
I have a tiling background image, but I want to overlay another tiling image
I want to set a background image for a div, in a way that
I want to place links over a background image (set in CSS) and I
I have a div that has a 'home.jpg' image as background and I want
I want to have the background image change form one to another and fade
I'm looking to place one map over another so that I can make one
I have CSS with background-image's elements that refer to another site. Problem is, that
I want to overlay one image with another using CSS. An example of this
In my app, I want to have a single background image that I use

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.