Android: Only specify the transition name for the target Activity.

The source Views don't need the transition name. We could get the name
from the sharedView via getTransitionName, but since the TV
ImageCardView isn't inflated in XML it would be to be manually set.

I'm not sure if that would be any cleaner than this.
This commit is contained in:
Mike 2017-10-25 21:31:06 -07:00
parent 0fb3cb2f56
commit 5cb1a08b13
1 changed files with 0 additions and 1 deletions

View File

@ -18,7 +18,6 @@
android:id="@+id/image_game_screen"
android:layout_width="match_parent"
android:layout_height="0dp"
android:transitionName="image_game_screenshot"
android:layout_weight="1"
tools:src="@drawable/placeholder_screenshot"
tools:scaleType="centerCrop"/>