Return transition not working correctly when using fragment shared transitions
You should change fragment_list.xml
as below, android:layout_width/height
properties are changed.
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingTop="18dp" android:paddingBottom="6dp"> <ImageView android:id="@+id/ivMoviePoster" android:layout_width="184dp" android:layout_height="276dp" android:adjustViewBounds="true" android:scaleType="fitXY" android:transitionName="@string/transition_poster_image"/></LinearLayout>