我需要此练习的帮助。我需要在xml文件中插入图片,图片必须旋转前两秒钟,最后必须平移100秒钟,最后图片必须保持在最终位置。在activity_main.xml中,我尝试这样:
<ImageView
android:id="@+id/imageView"
android:rotation="90"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/vEPxtF9" />
这只会旋转图像。是否可以仅使用不带Java的xml文件来执行此操作?
是的..可以借助运动布局。这是a link!