From 5cb1a08b1332ee0fe6550f8732629965bf919ed7 Mon Sep 17 00:00:00 2001 From: Mike <7153163+hackbar@users.noreply.github.com> Date: Wed, 25 Oct 2017 21:31:06 -0700 Subject: [PATCH] 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. --- Source/Android/app/src/main/res/layout/card_game.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Android/app/src/main/res/layout/card_game.xml b/Source/Android/app/src/main/res/layout/card_game.xml index f831b01f3d..1ee76e3471 100644 --- a/Source/Android/app/src/main/res/layout/card_game.xml +++ b/Source/Android/app/src/main/res/layout/card_game.xml @@ -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"/>