FileDocCategorySizeDatePackage
TintAutoCompleteTextView.javaAPI DocAndroid 5.1 API2046Thu Mar 12 22:22:56 GMT 2015android.support.v7.internal.widget

TintAutoCompleteTextView

public class TintAutoCompleteTextView extends android.widget.AutoCompleteTextView
An tint aware {@link android.widget.AutoCompleteTextView}.
hide

Fields Summary
private static final int[]
TINT_ATTRS
private final TintManager
mTintManager
Constructors Summary
public TintAutoCompleteTextView(android.content.Context context)


       
        this(context, null);
    
public TintAutoCompleteTextView(android.content.Context context, android.util.AttributeSet attrs)

        this(context, attrs, android.R.attr.autoCompleteTextViewStyle);
    
public TintAutoCompleteTextView(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr)

        super(context, attrs, defStyleAttr);

        TintTypedArray a = TintTypedArray.obtainStyledAttributes(context, attrs, TINT_ATTRS,
                defStyleAttr, 0);
        setBackgroundDrawable(a.getDrawable(0));
        if (a.hasValue(1)) {
            setDropDownBackgroundDrawable(a.getDrawable(1));
        }
        a.recycle();

        mTintManager = a.getTintManager();
    
Methods Summary
public voidsetDropDownBackgroundResource(int id)

        setDropDownBackgroundDrawable(mTintManager.getDrawable(id));