diff --git a/samples/ApiDemos/res/layout/image_block.xml b/samples/ApiDemos/res/layout/image_block.xml
index 423371740..04b8d3fa0 100644
--- a/samples/ApiDemos/res/layout/image_block.xml
+++ b/samples/ApiDemos/res/layout/image_block.xml
@@ -15,7 +15,7 @@
android:layout_row="0"
android:src="@drawable/ducky"
android:onClick="clicked"
- android:viewName="ducky"
+ android:transitionName="ducky"
/>
\ No newline at end of file
diff --git a/samples/ApiDemos/res/layout/image_details.xml b/samples/ApiDemos/res/layout/image_details.xml
index a176ce524..1daee4668 100644
--- a/samples/ApiDemos/res/layout/image_details.xml
+++ b/samples/ApiDemos/res/layout/image_details.xml
@@ -10,7 +10,7 @@
android:layout_weight="1"
android:layout_width="match_parent"
android:scaleType="centerCrop"
- android:viewName="hero"
+ android:transitionName="hero"
android:onClick="clicked"
/>