diff --git a/compose/snippets/src/main/java/com/example/compose/snippets/layouts/ConstraintsModifiersSnippets.kt b/compose/snippets/src/main/java/com/example/compose/snippets/layouts/ConstraintsModifiersSnippets.kt index 30c31020..144393ab 100644 --- a/compose/snippets/src/main/java/com/example/compose/snippets/layouts/ConstraintsModifiersSnippets.kt +++ b/compose/snippets/src/main/java/com/example/compose/snippets/layouts/ConstraintsModifiersSnippets.kt @@ -43,7 +43,7 @@ private fun Demo1() { Box(containerModifier, contentAlignment = Alignment.Center) { // [START android_compose_layout_constraints_modifiers_1] Image( - painterResource(R.drawable.frag), + painterResource(R.drawable.hero), contentDescription = null, Modifier .fillMaxSize() @@ -59,7 +59,7 @@ private fun Demo2() { Box(containerModifier, contentAlignment = Alignment.Center) { // [START android_compose_layout_constraints_modifiers_2] Image( - painterResource(R.drawable.frag), + painterResource(R.drawable.hero), contentDescription = null, Modifier .fillMaxSize() @@ -76,7 +76,7 @@ private fun Demo3() { Box(containerModifier, contentAlignment = Alignment.Center) { // [START android_compose_layout_constraints_modifiers_3] Image( - painterResource(R.drawable.frag), + painterResource(R.drawable.hero), contentDescription = null, Modifier .clip(CircleShape) diff --git a/compose/snippets/src/main/res/drawable/frag.png b/compose/snippets/src/main/res/drawable/hero.png similarity index 100% rename from compose/snippets/src/main/res/drawable/frag.png rename to compose/snippets/src/main/res/drawable/hero.png