title: Image width is not showing properly in Card of Android Jetpack Compose
body: <p>I am trying to make layout using <em>Jetpack Compose</em>.</p>
  <p>I want to show an <strong>Image</strong> and a <strong>Text</strong> in each <strong>Card</strong>, stacked <strong>vertically</strong> using <em>Column widget</em></p>
  <p>I could successfully wrote the code using <em>Composable function</em> but I am getting issues in last Card like below mentioned:</p>
  <ul>
  <li>The Image <strong>width</strong> is not FULL</li>
  <li>The TextView <strong>is not showing</strong> below Image</li>
  </ul>
  <p>Code :</p>
  <pre><code>    @Composable
  fun Dashboard(name1: String, name2: String, name3: String) {
      Column(
          modifier =
          Modifier.background(color = Color(0, 255, 0, 255))
      ) {
          Card() {
              Column(modifier = Modifier.padding(10.dp)) {
                  Image(painter = painterResource(id = R.drawable.img1),
                      contentDescription = &quot;Image 1&quot;)
                  Text(text = name1)
              }
          }
          Card() {
              Column(modifier = Modifier.padding(10.dp)) {
                  Image(painter = painterResource(id = R.drawable.img2),
                      contentDescription = &quot;Image 2&quot;)
                  Text(text = name2)
              }
          }
          Card() {
              Column(modifier = Modifier.padding(10.dp)) {
                  Image(painter = painterResource(id = R.drawable.img2),
                      contentDescription = &quot;Image 3&quot;)
                  Text(text = name3)
              }
          }
      }
  
  }
  </code></pre>
  <p>Output :
  <a href="https://i.stack.imgur.com/77M1u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/77M1u.png" alt="enter image description here" /></a></p>
  <p>The Last Card's image (img2) is same as middle Card's image but is giving issue at last index only</p>
  <p>Can anyone help what is wrong in my Composable Function?</p>
  <p><strong>Reference</strong>:</p>
  <p>I am following tutorials of The Hyper Coder community <a href="https://www.youtube.com/watch?v=b_F2wzV45ZQ" rel="nofollow noreferrer">this one</a></p>