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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:53:36+00:00 2026-06-12T19:53:36+00:00

Guys I made a customised list view, The list view has three text fields.

  • 0

Guys I made a customised list view, The list view has three text fields. I want t the following thing to work, when the user presses the back button from the activity he just filled the text views, he goes back to the activity containing the customised list view. The recent entry just made is already present there. I want the entry to swipe in from the right each time the user goes to the list view activity.here’s the code for the list view xml:


    <LinearLayout
    android:id="@+id/listHolder"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_gravity="center"
    android:background="#ffffff" >

    <ListView
        android:id="@+id/mylist"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content" >
    </ListView>
    </LinearLayout>

here the list view is actually not utilising the complete space as 100dp of screen size is taken by some other widget(But that is not important here). And the animation I am using is this:


    <?xml version="1.0" encoding="utf-8"?>
    <set xmlns:android="http://schemas.android.com/apk/res/android"
    android:shareInterpolator="false" >

    <scale
    android:duration="1500"
    android:fillAfter="false"
    android:fromXScale="480dp"
    android:fromYScale="0dp"
    android:interpolator="@android:anim/overshoot_interpolator"
    android:pivotX="60"
    android:pivotY="10"
    android:toXScale="100dp"
    android:toYScale="0dp" />

    </set>

What is wrong in the aniamtion xml? Have I set the parameters wrong for the x and y values?
What I am getting is that the list view comes after a second or later the user goes to that activity. I mean there is no transition from right to left. Any idea why this is happening. Thanks.

  • 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-06-12T19:53:37+00:00Added an answer on June 12, 2026 at 7:53 pm

    u havent even applied ur animation to listview then how can u show animation!]
    and u should put % in pivotY and pivotX
    use this code:

    save this as layout_controller.xml in anim folder.

    <?xml version="1.0" encoding="utf-8"?>
    <layoutAnimation xmlns:android="http://schemas.android.com/apk/res/android"
     android:animation="@anim/rotation"
     android:animationOrder="normal"
     android:delay="10%" />
    

    save this as rotation.xml in anim folder

    <?xml version="1.0" encoding="utf-8"?>
    <rotate xmlns:android="http://schemas.android.com/apk/res/android"
    android:duration="500"
    android:fromDegrees="0.0"
    android:interpolator="@android:anim/accelerate_interpolator"
    android:pivotX="50%"
    android:pivotY="50%"
    android:toDegrees="360" />
    

    now put this code in yout listView layout file:

    <LinearLayout
    android:id="@+id/listHolder"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_gravity="center"
    android:background="#ffffff" >
    
    <ListView
        android:id="@+id/mylist"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layoutAnimation="@anim/list_layout_controller" >
    </ListView>
    </LinearLayout>
    

    i mean i have added this line in your layout now u can see it works..

    android:layoutAnimation="@anim/list_layout_controller" 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ey guys, so I want to create a grouped table view which has the
Hi guys :) i want to integrate a ready made CALENDAR on my oracle
First of all I want to link you guys to the JSFiddle I've made
Guys/Gals I have made a website but now I want to encode the script
Okay guys, I would like to know the following comments I made in this
Hi guys I have made a JqueryUI simple slider,on certain value range I make
Hi guys I recently uploaded a site made with wordpress. The site url is
I've been making heavy use of the interactive 3D controls, made by some guys
Guys I have an activity which has a home button, when the button is
i have a problem guys i made a wpf applications its running well but

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.