title: How to change the position of toggle button in TEXTINPUTLAYOUT?
body: <p>Hey I'm working with material design dependency and having a problem that <strong>how I change the position of toggle button in TEXTINPUTLAYOUT</strong>? As seen in below image the word <em>password</em> is not align with <em>password toggle button</em></p>
  <p>Thanks</p>
  <pre><code>    &lt;com.google.android.material.textfield.TextInputLayout
      android:id=&quot;@+id/tiet_s_pwd&quot;
      android:layout_width=&quot;0dp&quot;
      android:layout_height=&quot;0dp&quot;
      android:gravity=&quot;center_vertical&quot;
      app:boxBackgroundMode=&quot;outline&quot;
      app:boxStrokeColor=&quot;@color/white&quot;
      app:boxStrokeErrorColor=&quot;@color/white&quot;
      app:boxStrokeWidth=&quot;0dp&quot;
      app:errorEnabled=&quot;true&quot;
      app:errorTextColor=&quot;@color/primarydark&quot;
      app:hintEnabled=&quot;false&quot;
      app:passwordToggleEnabled=&quot;true&quot;
      app:passwordToggleTint=&quot;#3030&quot;
      app:layout_constraintBottom_toBottomOf=&quot;@+id/hguide_s_12&quot;
      app:layout_constraintEnd_toEndOf=&quot;@+id/vguide_s_4&quot;
      app:layout_constraintStart_toStartOf=&quot;@+id/vguide_s_1&quot;
      app:layout_constraintTop_toTopOf=&quot;@+id/hguide_s_10&quot;&gt;
  
  
      &lt;com.google.android.material.textfield.TextInputEditText
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:background=&quot;@drawable/transparent&quot;
          android:hint=&quot;Password&quot;
          android:inputType=&quot;textPassword&quot;
          android:paddingLeft=&quot;@dimen/text&quot;
          android:paddingRight=&quot;@dimen/text&quot;
          android:paddingBottom=&quot;@dimen/pb&quot;
          android:textColor=&quot;#303030&quot;
          android:textColorHint=&quot;#50303030&quot;
          android:textSize=&quot;@dimen/text&quot; /&gt;
  &lt;/com.google.android.material.textfield.TextInputLayout&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/KRg9Y.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KRg9Y.jpg" alt="enter image description here" /></a></p>