LayoutAnimation
16lz
2021-12-04
<com.ryg.chapter_7.ui.RevealLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:layoutAnimation="@anim/anim_layout" android:orientation="vertical" android:padding="12dp" tools:context="${relativePackage}.${activityClass}" >
android:delay
子元素入场延迟。0.5代表如果子元素入场动画为300ms。则0.5代表150ms。
android:animationOrder
normal顺序
reverse倒序
random随机
android:animation
具体子元素指定入场动画
LayoutAnimation适用于所有的ViewGroup
在代码中实现ViewGroup的动画
更多相关文章
- Android之布局属性
- Android(安卓)XML解析
- android manifest.xml中元素含义
- Android(安卓)XML解析
- [android]Activity切换动画
- Android解析XML
- Android(安卓)属性动画简介
- Android(安卓)Activity界面切换添加动画特效
- Android解析XML