如何在android中将多个imageview绑定到一个imageview
我有一个大的imageview叫做-circle,还有更多的小imageview叫做ivblue1-3。 我希望圆圈图像视图旋转,所有的小图像视图与他一起旋转。 不幸的是,我不知道ImageView之间的绑定 圆形图像视图是:如何在android中将多个imageview绑定到一个imageview,android,android-imageview,Android,Android Imageview,我有一个大的imageview叫做-circle,还有更多的小imageview叫做ivblue1-3。 我希望圆圈图像视图旋转,所有的小图像视图与他一起旋转。 不幸的是,我不知道ImageView之间的绑定 圆形图像视图是: private ImageView mcircle = (ImageView)this.findViewById(R.id.circle); 小图像视图是: private ImageView ivblue1=(ImageView)this.findViewById(R
private ImageView mcircle = (ImageView)this.findViewById(R.id.circle);
小图像视图是:
private ImageView ivblue1=(ImageView)this.findViewById(R.id.ivblue1);
private ImageView ivblue2=(ImageView)this.findViewById(R.id.ivblue2);
private ImageView ivblue3=(ImageView)this.findViewById(R.id.ivblue3);
我已经有了处理圆旋转的XML:
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/linear_interpolator"
xmlns:android="http://schemas.android.com/apk/res/android">
<rotate
android:toDegrees="360"
android:startOffset="0"
android:repeatMode="restart"
android:repeatCount="800"
android:pivotY="50%"
android:pivotX="50%"
android:fromDegrees="0"
android:duration="3500"/>
</set>
请您举个例子好吗?我没有,请阅读其他人提供的文档。我希望他们能帮助我将相同的动画应用于父视图和子视图,并同时启动它们。一个选项?两者都移动,但不能一起工作。