title: SwiftUI: apply background color to rounded rectangle
body: <p>I would like to create a button with a rounded rectangle view with a border, and a background color.</p>
  <p>I wrote this so far :</p>
  <pre><code>Button(action: {
  }, label: {
      Text(&quot;TAP ME&quot;)
          .foregroundColor(Color.blue)
  })
  .frame(height: 50)
  .frame(maxWidth: .infinity)
  .overlay(
      RoundedRectangle(cornerRadius: 50, style: .continuous)
          .strokeBorder(Color.blue, lineWidth: 1)                
  )
  </code></pre>
  <p>I tried to add <code>.background(Color.red)</code> at many different places, but here is what I get everytime:</p>
  <p><a href="https://i.stack.imgur.com/XdB2v.png" rel="noreferrer"><img src="https://i.stack.imgur.com/XdB2v.png" alt="enter image description here" /></a></p>
  <p>What to do here?</p>
  <p>Thank you for your help</p>