<layoutanimation xmlns:android= "Http://schemas.android.com/apk/res/android" android:delay= "30%" android:animationorder= "Reverse" android: animation= "@anim/slide_right" /> <set xmlns:android= "Http://schemas.android.com/apk/res/android" android:interpolator= "@android: Anim/accelerate_interpolator" > <translate android:fromxdelta= " -100%p" android:toxdelta= "0" android:duration= "@android: Integer/config_ Shortanimtime " /> </set> android:layoutanimation=" @anim/ List_anim_layout ", which is the first step of the layout file. By addingDownload the XML animation settings file to create a Animation object; animation animation= Animationutils.loadanimation (This, r.anim.list_anim); // Get a Layoutanimationcontroller object; layoutanimationcontroller lac= New layoutanimationcontroller (animation); //sets the order in which the controls are displayed; lac.setorder (Layoutanimationcontroller.order_reverse); //setting control display interval time; lac.setdelay (1); //sets the Layoutanimationcontroller property for the ListView; Datalist.setlayoutanimation (LAC);
Androga Load ListView Animation