Open
Description
Description:
Set TextInputEditText text distance from the rightmost 180dp, use paddingEnd is invalid, use drawablePadding to take effect instead.
Expected behavior:
The actual effect of setting paddingEnd
Expected results
Source code:
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/phone_view"
style="@style/MogoPhoneTextInputLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.google.android.material.textfield.TextInputEditText
style="@style/MogoPhoneTextInputEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingEnd="180dp" />
</com.google.android.material.textfield.TextInputLayout>
Android API version:
Android API 34
Material Library version:
com.google.android.material:material:1.12.0