Android EditText background text

前端 未结 2 1459
暗喜
暗喜 2020-12-30 02:12

Is there a way to set the background text of an EditText? for instance, I have a login screen with 2 EditText views, one for username and one for password. I want the text \

相关标签:
2条回答
  • 2020-12-30 02:54

    The hint property will take care of that for you.

    0 讨论(0)
  • 2020-12-30 03:12

    Use hint property, or setHint method.

    0 讨论(0)
提交回复
热议问题