Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>u havent even applied ur animation to listview then how can u show animation!] and u should put <code>%</code> in <code>pivotY</code> and <code>pivotX</code> use this code:</p> <p>save this as <code>layout_controller.xml</code> in <code>anim</code> folder.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;layoutAnimation xmlns:android="http://schemas.android.com/apk/res/android" android:animation="@anim/rotation" android:animationOrder="normal" android:delay="10%" /&gt; </code></pre> <p>save this as rotation.xml in <code>anim</code> folder</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;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" /&gt; </code></pre> <p>now put this code in yout listView layout file:</p> <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" android:layoutAnimation="@anim/list_layout_controller" &gt; &lt;/ListView&gt; &lt;/LinearLayout&gt; </code></pre> <p>i mean i have added this line in your layout now u can see it works..</p> <pre><code>android:layoutAnimation="@anim/list_layout_controller" </code></pre>
    singulars
    1. This table or related slice is empty.
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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