首页 > android布局文件 layoutAnimation的创建

android布局文件 layoutAnimation的创建

请问大神:
怎么在res目录下创建一个layoutAnimation属性的xml布局文件
我主要是找不到layoutAnimation的resource Type。还是说它没有这个属性呢?

xml代码如下:

<layoutAnimation xmlns:android="http://schemas.android.com/apk/res/android"
   android:delay="2"
   android:animationOrder="normal"
   android:animation="@anim/list_anim"/>

<?xml version="1.0" encoding="utf-8"?>
<layoutAnimation
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:animation="@anim/scale_1"
    android:delay="0.5"
 ></layoutAnimation>

= =
注意....第一行
<layoutAnimation xmlns:android="http://schemas,android.com/apk/res/android"

schemas,android.com

schemas后面是个逗号....改成点儿应该就可以了...

【热门文章】
【热门文章】