change TextInputLayout hint position to right

杀马特。学长 韩版系。学妹 提交于 2019-12-23 15:44:41

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!