title: TextInputLayout :How to give padding or margin to hint?
body: <p>I have to use <code>TextInputLayout</code> of design support library in my project. I want to give space between <code>hint</code> and <code>EditText</code> in <code>TextInputLayout</code>. I set margin and padding in <code>TextInputLayout</code> and even inside <code>EditText</code> but both are not work.So how to solve this issue. Here i attach screen shot and my coding.</p>
  
  <pre><code>==============================Style=================================
  
  &lt;style name="TextHint" parent="Base.TextAppearance.AppCompat"&gt;
      &lt;item name="android:textSize"&gt;18sp&lt;/item&gt;
      &lt;item name="android:textColor"&gt;@color/green&lt;/item&gt;
  &lt;/style&gt;
  
  
  
  =============================XML===================================  
  &lt;android.support.design.widget.TextInputLayout
      android:layout_width="match_parent"
      app:hintTextAppearance="@style/TextHint"
      android:layout_marginTop="10dp"
      android:layout_marginLeft="30dp"
      android:layout_marginRight="30dp"
      android:layout_height="wrap_content"&gt;
  &lt;EditText
      android:layout_width="match_parent"
      android:layout_height="50dp"
      android:id="@+id/edttxtEmailAddress"
      android:singleLine="true"
      android:hint="@string/enter_valid_email"
      android:paddingLeft="20dp"
      android:textSize="20sp"
      android:background="@drawable/rounded_common"/&gt;
  &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/DIUhF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DIUhF.png" alt="enter image description here"></a></p>