Customizing the setError icon for TextView

后端 未结 4 2136
有刺的猬
有刺的猬 2020-12-15 19:51

I want to set a setError method to my TextView, with a custom icon instead of the default Android icon. So I tried this:

((EditText         


        
4条回答
  •  一整个雨季
    2020-12-15 20:20

    This issue is discussed and resolved here:

    EditText setError() with icon but without Popup message

    I hope that by extending the answer it would not get auto-converted to a comment.

提交回复
热议问题