[FIXED] Unable to change TextInputLayout hint gravity programmatically

Issue XML #1 – TextInputEditText inside TextInputLayout: <com.google.android.material.textfield.TextInputLayout android:id=”@+id/textInputLayout” style=”@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox” android:layout_width=”0dp” android:layout_height=”148dp” android:hint=”Enter your email” app:boxStrokeColor=”#000000″ app:layout_constraintEnd_toEndOf=”parent” app:layout_constraintStart_toStartOf=”parent” app:layout_constraintTop_toTopOf=”parent”> <com.google.android.material.textfield.TextInputEditText…

Read More →