title: Opaque background in floating hint in TextInputLayout
body: <p>I have to make a textinputlayout with the floating hint label, that needs to have a white background. Some what similar to this--</p>
  
  <p>Design expected:</p>
  
  <p><img src="https://i.stack.imgur.com/gnrso.pngd" alt="Design expected"></p>
  
  <p>But all I have been able to do so far is this:</p>
  
  <p>Actual Design using TextInputLayout:</p>
  
  <p><img src="https://i.stack.imgur.com/NyK5Z.png" alt=""></p>
  
  <p>Currently the hint label in TextInputLayout have a transparent background.
  Can anybody please help me and tell how to make this possible?</p>
  
  <p>Here is my code (The texinput layout):</p>
  
  <pre><code>&lt;android.support.design.widget.TextInputLayout
      android:id="@+id/til_login_info"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@drawable/text_input_layout_background"
      app:hintTextAppearance="@style/TextStyle.Small.Hint"&gt;
  
      &lt;EditText
          android:id="@+id/login_info"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:background="@color/transparent"
          android:gravity="center_vertical"
          android:hint="Email / Mobile"
          android:inputType="text"
          android:textSize="14sp" /&gt;
  &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p>And the background I am using</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item
          android:gravity="bottom"
          android:top="5dp"&gt;
          &lt;shape android:shape="rectangle"&gt;
              &lt;stroke
  
                  android:width="1px"
                  android:color="@color/Grey300" /&gt;
              &lt;corners android:radius="100dp" /&gt;
              &lt;solid android:color="@color/transparent" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>Thanks in advance!</p>