Java android.util AttributeSet fields, constructors, methods, implement or subclass

Example usage for Java android.util AttributeSet fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.util AttributeSet.

The text is from its open source code.

Method

booleangetAttributeBooleanValue(int index, boolean defaultValue)
Return the boolean value of attribute at 'index'.
booleangetAttributeBooleanValue(String namespace, String attribute, boolean defaultValue)
Return the boolean value of 'attribute'.
intgetAttributeCount()
Returns the number of attributes available in the set.
floatgetAttributeFloatValue(String namespace, String attribute, float defaultValue)
Return the float value of 'attribute'.
floatgetAttributeFloatValue(int index, float defaultValue)
Return the float value of attribute at 'index'.
intgetAttributeIntValue(String namespace, String attribute, int defaultValue)
Return the integer value of 'attribute'.
intgetAttributeIntValue(int index, int defaultValue)
Return the integer value of attribute at 'index'.
StringgetAttributeName(int index)
Returns the name of the specified attribute.
intgetAttributeNameResource(int index)
Return the resource ID associated with the given attribute name.
intgetAttributeResourceValue(String namespace, String attribute, int defaultValue)
Return the value of 'attribute' as a resource identifier.
intgetAttributeResourceValue(int index, int defaultValue)
Return the value of attribute at 'index' as a resource identifier.
intgetAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue)
Return the boolean value of 'attribute' that is formatted as an unsigned value.
StringgetAttributeValue(int index)
Returns the value of the specified attribute as a string representation.
StringgetAttributeValue(String namespace, String name)
Returns the value of the specified attribute as a string representation.
ClassgetClass()
Returns the runtime class of this Object .
StringgetPositionDescription()
Returns a description of the current position of the attribute set.
intgetStyleAttribute()
Return the value of the "style" attribute or 0 if there is not one.