AttributeSet

Interface of android.util · AttributeSet.java · Android's reference

public interface AttributeSet

The attributes of an XML tag, as an inflater or a TypedArray reads them.

Implemented in the framework by

Methods

public abstract int getAttributeCount() source
public default String getAttributeNamespace(int index) source
public abstract String getAttributeName(int index) source
public abstract String getAttributeValue(int index) source
public abstract String getAttributeValue(String namespace, String name) source
public abstract String getPositionDescription() source
public abstract int getAttributeNameResource(int index) source
public abstract int getAttributeListValue(String namespace, String attribute, String[] options, int defaultValue) source
public abstract boolean getAttributeBooleanValue(String namespace, String attribute, boolean defaultValue) source
public abstract int getAttributeResourceValue(String namespace, String attribute, int defaultValue) source
public abstract int getAttributeIntValue(String namespace, String attribute, int defaultValue) source
public abstract int getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) source
public abstract float getAttributeFloatValue(String namespace, String attribute, float defaultValue) source
public abstract int getAttributeListValue(int index, String[] options, int defaultValue) source
public abstract boolean getAttributeBooleanValue(int index, boolean defaultValue) source
public abstract int getAttributeResourceValue(int index, int defaultValue) source
public abstract int getAttributeIntValue(int index, int defaultValue) source
public abstract int getAttributeUnsignedIntValue(int index, int defaultValue) source
public abstract float getAttributeFloatValue(int index, float defaultValue) source
public abstract String getIdAttribute() source
public abstract String getClassAttribute() source
public abstract int getIdAttributeResourceValue(int defaultValue) source
public abstract int getStyleAttribute() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.