From 6a2c775ac68c883414227f938aff336e808cc541 Mon Sep 17 00:00:00 2001 From: Jolanda Verhoef Date: Mon, 16 Oct 2023 12:23:06 +0200 Subject: [PATCH] Rename frag to hero --- .../layouts/ConstraintsModifiersSnippets.kt | 6 +++--- .../src/main/res/drawable/{frag.png => hero.png} | Bin 2 files changed, 3 insertions(+), 3 deletions(-) rename compose/snippets/src/main/res/drawable/{frag.png => hero.png} (100%) 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