title: Hint text is not displayed in editText in android
body: <p>I have made a simple android dialog with 2 edittexts and a button,Its a login dialog ,I have put an image in both edit texts one is for use name and another one is for password..but second edittext doesnt display the hint that i have set ,My code is as below:</p>
  
  <p><strong>dialog.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:background="#00000000"
      android:gravity="center"
      android:orientation="vertical" &gt;
  
      &lt;LinearLayout
          style="@style/dialog"
          android:background="@drawable/dialoguebox"
          android:orientation="vertical" &gt;
  
          &lt;ImageView
              android:id="@+id/dialog_close"
              style="@style/close"
              android:background="@drawable/btn_close_38" /&gt;
  
          &lt;LinearLayout
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:orientation="vertical"
              android:paddingLeft="30dp"
              android:paddingRight="30dp" &gt;
  
              &lt;com.esp.therisemethod.uc.EspTextView
                  android:id="@+id/textView1"
                  style="@style/header_text"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:gravity="center"
                  android:tag="200"
                  android:text="Login"
                  android:textColor="#212526" /&gt;
  
              &lt;com.esp.therisemethod.uc.EspEditText
                  android:id="@+id/usernm"
                  style="@style/dialog_edit"
                  android:background="@drawable/text_box"
                  android:gravity="center"
                  android:hint="Please enter your client number" /&gt;
  
              &lt;com.esp.therisemethod.uc.EspEditText
                  android:id="@+id/pwd"
                  style="@style/dialog_edit"
                  android:background="@drawable/text_box"
                  android:gravity="center"
              android:hint="Enter your password"
                  android:inputType="textPassword" /&gt;
  
              &lt;LinearLayout
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_marginTop="10dp"
                  android:orientation="horizontal" &gt;
  
                  &lt;com.esp.therisemethod.uc.EspTextView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="15dp"
                      android:layout_marginTop="7dp"
                      android:tag="100"
                      android:text="Remember me"
                      android:textColor="#666666" /&gt;
  
                  &lt;ImageView
                      android:id="@+id/chk_login"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="10dp"
                      android:background="@drawable/checkbox" /&gt;
              &lt;/LinearLayout&gt;
  
              &lt;com.esp.therisemethod.uc.EspButton
                  android:id="@+id/login"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_gravity="center"
                  android:layout_marginBottom="10dp"
                  android:layout_marginTop="20dp"
                  android:background="@drawable/button"
                  android:padding="5dp"
                  android:tag="200"
                  android:text="Login"
                  android:textColor="#f5f0eb"
                  android:textSize="17px" /&gt;
          &lt;/LinearLayout&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>