Android共享元素转换闪烁问题
在这里,我在活动\u凭证.xml中有一个图像视图,我试图将其发送到另一个活动活动\u注册.xml,现在的问题是,当我尝试将其发送到活动注册时,一切都变得平滑,但当我按下后退按钮时,它会闪烁,我正在连接屏幕录制或它 这是屏幕录制的视频: 这里是activity_credential.xmlAndroid共享元素转换闪烁问题,android,android-transitions,Android,Android Transitions,在这里,我在活动\u凭证.xml中有一个图像视图,我试图将其发送到另一个活动活动\u注册.xml,现在的问题是,当我尝试将其发送到活动注册时,一切都变得平滑,但当我按下后退按钮时,它会闪烁,我正在连接屏幕录制或它 这是屏幕录制的视频: 这里是activity_credential.xml <ImageView android:id="@+id/IMG_APP_BANNER" android:src="@drawable/logo_high&qu
<ImageView
android:id="@+id/IMG_APP_BANNER"
android:src="@drawable/logo_high"
android:layout_width="256dp"
android:transitionName="APPBANNER"
android:layout_height="wrap_content"/>
这里是activity_signup.xml
<ImageView
android:layout_gravity="right"
android:id="@+id/IMG_APP_BANNER"
android:src="@drawable/logo_high"
android:layout_width="256dp"
android:transitionName="APPBANNER"
android:layout_height="wrap_content"/>
这是我的style.xml
<style name="BaseAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:windowBackground">@color/materialWhite</item>
<item name="android:windowActivityTransitions">true</item>
</style>
@颜色/原色
@颜色/原色暗
@颜色/颜色重音
@颜色/材料白色
真的
任何人都可以建议,什么是错误
<style name="BaseAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:windowBackground">@color/materialWhite</item>
<item name="android:windowActivityTransitions">true</item>
</style>