title: android : TextInputLayout hides drawableRight of child EditText
body: <p>I am always updated with library updates, and this is what it resulted into.</p>
  
  <p>In build.gradle(Project:xxx):</p>
  
  <pre><code>classpath 'com.android.tools.build:gradle:2.2.0-beta1'
  </code></pre>
  
  <p>In build.gradle(Module:app)</p>
  
  <pre><code>compile 'com.android.support:appcompat-v7:24.2.0'
  compile 'com.android.support:design:24.2.0'
  </code></pre>
  
  <p>And put password field as below:</p>
  
  <pre><code>&lt;android.support.design.widget.TextInputLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"&gt;
  
      &lt;android.support.v7.widget.AppCompatEditText
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:inputType="textPassword" /&gt;
  &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p>Taadaa...My Password field looks now as below:</p>
  
  <p><a href="https://i.stack.imgur.com/7hoA5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7hoA5.png" alt="enter image description here"></a></p>
  
  <p>You can also go simply with <code>EditText</code>.</p>
  
  <p>But, there are some glitches in this update.</p>
  
  <p><strong>Problem:</strong>
  If I put any drawableRight in EditText, it displays nothing. TextInputLayout also has property to disable toggle functionality. I did it that too as below, but no success:</p>
  
  <pre><code>&lt;android.support.design.widget.TextInputLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      app:passwordToggleEnabled="false"&gt;
  
      &lt;EditText
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:drawableRight="@drawable/ic_alarm_on_black_24dp"
          android:inputType="textPassword" /&gt;
  &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p>Can anyone help me please.</p>