Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/204.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
android中的图像动画不重叠_Android_Animation_Android Animation - Fatal编程技术网

android中的图像动画不重叠

android中的图像动画不重叠,android,animation,android-animation,Android,Animation,Android Animation,我有一个这样的布局 <ImageView android:id="@+id/slide_image" android:layout_width="match_parent" android:layout_height="wrap_content" android:src="@drawable/bg_homeslide_1"/> <RelativeLayout android:id="@+

我有一个这样的布局

<ImageView 
        android:id="@+id/slide_image"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:src="@drawable/bg_homeslide_1"/>

<RelativeLayout
            android:id="@+id/footer"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
             android:layout_alignParentBottom="true"
             ..
            >

            <Button
                android:id="@+id/login_button"
                .../>
        </RelativeLayout>
    </RelativeLayout>


我正在尝试为上面的ImageView设置动画。它的转变是从下到上。但问题是,当imageview设置动画时,页脚布局与图像重叠。我需要图像视图来设置所有视图的动画。请帮助

您可以遵循编写代码(xml)的层次结构,这样可以先编写back order imageview,然后依此类推,请参阅


它不起作用,因为我只是在绘制完所有视图后才启动动画