How to change hint padding for TextInputLayout when using the new prefixText?
问题 I have tried implementing TextInputLayout with the new prefixText , using com.google.android.material:material:1.2.0-alpha02 . This is a very cool feature, but when I add a prefix text the hint label floats up and aligns after the prefix. This does not look good, especially if you have more input fields on the same page without prefix, the floating labels does not align. Relevant parts of my layout code: <LinearLayout android:id="@+id/login_input_fields" android:layout_width="match_parent"