android - Edittext : custom error popup -
how can custom layout of popup seterror in edittext
edittextposition.seterror(getresources().getstring(r.string.txt_err_adresse_site),mdrawable );
i override seterror() method custom icon
@override public void seterror(charsequence error, drawable icon) { super.seterror(error, icon); }
thanks
public class myedittext extends edittext { public myedittext(context context, attributeset attrs) { super(context, attrs); } @override public void seterror(charsequence error, drawable icon) { // setcompounddrawables(null, null, icon, null); } }
Comments
Post a Comment