<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" > <ImageView android:id="@+id/imgBack"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</ImageView>
<ImageView android:id="@+id/imgFore"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</ImageView>
</FrameLayout>
imgBackView.startAnimation(anim2);imgForeView.startAnimation(anim1);
这样只能出后一个动画效果
android:layout_width="fill_parent"
android:layout_height="fill_parent" > <ImageView android:id="@+id/imgBack"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</ImageView>
<ImageView android:id="@+id/imgFore"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</ImageView>
</FrameLayout>
imgBackView.startAnimation(anim2);imgForeView.startAnimation(anim1);
这样只能出后一个动画效果
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货