title: TextInputLayout remove unwanted space
body: <p>I want TextInputLayout without any border and box, so I use below code for</p>
  
  <pre><code>&lt;com.google.android.material.textfield.TextInputLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:hint="@string/app_name"
          app:boxBackgroundMode="none"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toTopOf="parent"&gt;
  
          &lt;com.google.android.material.textfield.TextInputEditText
              android:layout_width="match_parent"
              android:layout_height="wrap_content"/&gt;
  
      &lt;/com.google.android.material.textfield.TextInputLayout&gt;
  </code></pre>
  
  <p>but i don't know when I write </p>
  
  <blockquote>
    <p>app:boxBackgroundMode="none"</p>
  </blockquote>
  
  <p>to TextInputLayout then size is an automatic stretch and looks so weird if you find any solution regarding this plz help me.</p>
  
  <p>Here is the screenshot of my output</p>
  
  <p><a href="https://i.stack.imgur.com/zRLWi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zRLWi.png" alt="enter image description here"></a></p>