title: Can I get password toggle without TextInputEditText?
body: <p>I just wanted that eye button to let user toggle password (so that they can verify what they have typed). I found a solution here in StackOverflow; it was using <code>android.support.design.widget.TextInputEditText</code>. The problem is that it is noticeably thicker than normal <code>EditText</code>. </p>
  
  <p>My EditText is not inside a text input layout, because I do not want that hint animation, etc. I do not want to hard-code their height, because it may vary depending on the system language and themes.</p>
  
  <p>Can I get the toggle feature with normal EditText? OR can I make TextInputEditText have the same height as EditText?</p>
  
  <p><a href="https://i.stack.imgur.com/MPKT4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MPKT4.png" alt="enter image description here"></a></p>
  
  <pre><code>&lt;RelativeLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      tools:context=".MainActivity"&gt;
  
      &lt;EditText
          android:layout_width="300dp"
          android:layout_height="wrap_content"
          android:layout_alignParentTop="true"
          android:layout_centerHorizontal="true"
          android:layout_marginTop="121dp"
          android:background="#66FF0000"
          android:text="This is normal EditText"
          android:inputType="textEmailAddress"/&gt;
  
      &lt;android.support.design.widget.TextInputLayout
          android:layout_width="300dp"
          android:layout_height="wrap_content"
          android:layout_alignParentTop="true"
          android:layout_centerHorizontal="true"
          android:layout_marginTop="156dp"
          app:hintEnabled="false"
          app:passwordToggleEnabled="true"&gt;
  
          &lt;android.support.design.widget.TextInputEditText
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:background="#660000FF"
              android:hint="This is TextInputEditText"
              android:inputType="textPassword"/&gt;
      &lt;/android.support.design.widget.TextInputLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>It seems that the TextInputLayout that makes this issue. I have asked another question for it. <a href="https://stackoverflow.com/questions/49707950/preventing-textinputlayout-from-making-textinputedittext-taller">Preventing TextInputLayout from making TextInputEditText taller</a></p>