animationOrder: 枚举Layout中子View的顺序,可以为normal (正序),reverse(倒序),random(随机顺序)。上例为倒序显示ListView 中例表项。本例使用随机顺序显示GridView的图标项。

ayout_random_fade.xml 定义如下:

<layoutAnimation xmlns:android=”http://schemas.android.com/apk/res/android”
android:delay=”0.5″
android:animationOrder=”random”
android:animation=”@anim/fade” />

Layout Animation->4. Randomize_第1张图片" src="https://img.it610.com/image/info5/c50248a2f61842439376027a4d40a593.jpg" width="333" height="493" style="border:1px solid black;">

更多相关文章

  1. Android(安卓)Launcher3安装应用后,控制应用图标显示位置
  2. Systrace的工作原理及例子解读
  3. Android(安卓)lottie java.lang.IllegalStateException: Missing
  4. Android(安卓)USB Host与HID通讯
  5. Android(安卓)Material Design Snackbar Example
  6. 解决android模拟器太大,小屏幕无法完全显示的问题
  7. Android(安卓)调用系统地图(Google Map)并显示具体方位
  8. android 问题汇总系列之八
  9. Android导航栏ActionBar的详细分析

随机推荐

  1. Android官方架构组件LiveData: 观察者模
  2. Android(安卓)开源框架Universal-Image-L
  3. Android(安卓)按键事件处理详解
  4. Android高德获取逆地址编码(经纬度坐标-
  5. Android(安卓)LayoutInflater原理解析
  6. Android多分辨率适配原理
  7. Android进程优先级oom_adj
  8. [置顶] Android(安卓)Studio 2.1 和 Unit
  9. Android的List点击某一项之后的背景设置
  10. Android中使用开源框架SlidingMenu构建左