title: How to create EditText hint as Text with image in android
body: <p>How to create EditText hint/placeholder with Text &amp; image in android. I write like this</p>
  
  <pre><code>&lt;EditText  
      android:id="@+id/name" 
      android:layout_height="wrap_content" 
      android:layout_width="wrap_content"     
      android:lines="1"
       ................................
  ...............................
  
  android:drwableLeft="@drawable/image1"
  android:hint="enter name here"/&gt;
  </code></pre>
  
  <p>Here we can see image &amp; text (hint) within edittext but image still visible even after user enters something in that field. My requirement is if there is no text in EditText show hint with image, if  EditText is not empty hide hint text and image</p>