Android 如何使用对象动画从中心位置旋转imageview

Android 如何使用对象动画从中心位置旋转imageview,android,android-layout,Android,Android Layout,这是很好的工作,但我想移动其他图像以及图像移动 像这样 <ImageView android:id="@+id/imageView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" androi

这是很好的工作,但我想移动其他图像以及图像移动 像这样

<ImageView
    android:id="@+id/imageView1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentTop="true"
    android:layout_centerHorizontal="true"
    android:layout_marginTop="86dp"
    android:src="@drawable/top_pati" />
<ImageView
    android:id="@+id/imageView2"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignLeft="@+id/imageView1"
    android:layout_below="@+id/imageView1"
    android:src="@drawable/top_pativertical" />
<ImageView
    android:id="@+id/imageView3"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignRight="@+id/imageView1"
    android:layout_below="@+id/imageView1"
    android:src="@drawable/top_pativertical" />

请尝试以下对象动画代码:

ObjectAnimator anim = ObjectAnimator.ofFloat(tvBorder, View.ROTATION, 60);
anim.setRepeatMode(ValueAnimator.REVERSE);
anim.start();

问题是,在这三个系统中应用相同的动画?我设置了我的布局,其中图像是android:layout_alignRight=@+id/imageView1和android:layout_Lower=@+id/imageView1,当它设置动画时,为什么我的图像布局imageView2和imageView3没有跟随imageView1…?请将动画代码放在这里。