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

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -