FileDocCategorySizeDatePackage
CustomErrorEditText.javaAPI DocAndroid 5.1 API1304Thu Mar 12 22:22:42 GMT 2015com.android.printspooler.widget

CustomErrorEditText

public final class CustomErrorEditText extends android.widget.EditText
EditText that shows an error without a popup.

Fields Summary
private CharSequence
mError
Constructors Summary
public CustomErrorEditText(android.content.Context context, android.util.AttributeSet attrs)

        super(context, attrs);
    
Methods Summary
public java.lang.CharSequencegetError()

        return mError;
    
public voidsetError(java.lang.CharSequence error, android.graphics.drawable.Drawable icon)

        setCompoundDrawables(null, null, icon, null);
        mError = error;