How to change hint text size without changing the text size in EditText

前端 未结 4 974
傲寒
傲寒 2021-02-07 08:23

I have a EditText input field. I have added a hint in it. Now i want to change the size of hint text, but when i do this, it also effects the size of the text. Kind

4条回答
  •  广开言路
    2021-02-07 09:01

    You could set the text size to the smaller, desired value, then set a text listener to change the text size after some text is entered.

提交回复
热议问题