Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy is my ListView not getting animated?
    primarykey
    data
    text
    <p>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:</p> <hr> <pre><code> &lt;LinearLayout android:id="@+id/listHolder" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" android:background="#ffffff" &gt; &lt;ListView android:id="@+id/mylist" android:layout_width="fill_parent" android:layout_height="wrap_content" &gt; &lt;/ListView&gt; &lt;/LinearLayout&gt; </code></pre> <p>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:</p> <hr> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false" &gt; &lt;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" /&gt; &lt;/set&gt; </code></pre> <p>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.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload