问题
Is there anyway to put the TextInputLayout hint at right on top of the editText? and also I don't want editText position to be changed.setting the TextInputLayout gravity to right didn't work,Although it changes the editText position.
回答1:
TextInputLayout
is designed to meet the floating inline labels material design guidelines, which specify that the hint floats along the start of the EditText
.
来源:https://stackoverflow.com/questions/32202994/change-textinputlayout-hint-position-to-right