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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:29:40+00:00 2026-05-31T01:29:40+00:00

I wrote a sample code for image transforming from top to bottom, by using

  • 0

I wrote a sample code for image transforming from top to bottom, by using transformation. Here, the image moving correctly, but the problem is, it’s transformed under the controls. For example:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<TextView  
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:id="@+id/text"
    android:text="Android Animation"
    />

<ImageView
    android:id="@+id/image"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:src="@drawable/xxl"
    android:layout_marginTop="70dp"
    />
    <ImageView
    android:id="@+id/image1"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:src="@drawable/xxl"
    android:layout_marginTop="-28dp"
    />
    <LinearLayout
    android:orientation="horizontal"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    >
    <Button android:text="AddToFavorites"
    android:id="@+id/AddToFavorites"
    android:layout_width="wrap_content"
    android:layout_marginTop="100dp"
    android:layout_marginLeft="50dp"
    android:layout_height="wrap_content">
    </Button>
    <Button android:text="AddToOrder"
    android:id="@+id/AddToOrder"
    android:layout_width="wrap_content"
    android:layout_marginTop="100dp"
    android:layout_height="wrap_content">
    </Button>
    </LinearLayout>
    <ImageView android:id="@+id/imageView1"
    android:layout_height="70dp"
    android:layout_width="50dp"
    android:layout_marginTop="50dp"
    android:layout_marginLeft="230dp"
    android:src="@drawable/menu">
    </ImageView>
</LinearLayout>

If i click the button1, transformation of the image started, from top to bottom, but when it reaches the button , it moves the under of the button(i.e i won’t visible at the place of the button, after crossing the button it’s visible). My requirement is, i want to move the image over the controls(like, buttons, images, inner layouts..).

Thanks in advance…
Regards,
Lokesh

  • 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-31T01:29:41+00:00Added an answer on May 31, 2026 at 1:29 am

    Change the parent layout to RelativeLayout. And add some codes in the java to bring the views to front. You just use the function bringToFront() to bring the images in the top.

    ImageView m=(ImageView)findViewById(R.id.image);
    m.bringToFront();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote a small sample of code in C# to capture selected text from
I've wrote this simple piece of code. And I have a slight problem with
here is a sample code. If I remove the stdafx.h file, the program wont
I need some sample code to insert a image as a pdf background, is
I am using ASIHTTPRequest to upload an image to a webservice . my code
I'm now learning how to extract exif from images.I wrote the simple code like
I am using Bit Miracle LibTiff.Net. I cannot find any sample code to take
Can someone write some sample code to explain this concept? I know what a
I want to write an NSOutputStream to a server with apple's sample code: NSURL
I needed some simple string encryption, so I wrote the following code (with a

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.