Example usage for Java android.util AttributeSet fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | getAttributeBooleanValue(int index, boolean defaultValue) Return the boolean value of attribute at 'index'. |
boolean | getAttributeBooleanValue(String namespace, String attribute, boolean defaultValue) Return the boolean value of 'attribute'. |
int | getAttributeCount() Returns the number of attributes available in the set. |
float | getAttributeFloatValue(String namespace, String attribute, float defaultValue) Return the float value of 'attribute'. |
float | getAttributeFloatValue(int index, float defaultValue) Return the float value of attribute at 'index'. |
int | getAttributeIntValue(String namespace, String attribute, int defaultValue) Return the integer value of 'attribute'. |
int | getAttributeIntValue(int index, int defaultValue) Return the integer value of attribute at 'index'. |
String | getAttributeName(int index) Returns the name of the specified attribute. |
int | getAttributeNameResource(int index) Return the resource ID associated with the given attribute name. |
int | getAttributeResourceValue(String namespace, String attribute, int defaultValue) Return the value of 'attribute' as a resource identifier. |
int | getAttributeResourceValue(int index, int defaultValue) Return the value of attribute at 'index' as a resource identifier. |
int | getAttributeUnsignedIntValue(String namespace, String attribute, int defaultValue) Return the boolean value of 'attribute' that is formatted as an unsigned value. |
String | getAttributeValue(int index) Returns the value of the specified attribute as a string representation. |
String | getAttributeValue(String namespace, String name) Returns the value of the specified attribute as a string representation. |
Class> | getClass() Returns the runtime class of this Object . |
String | getPositionDescription() Returns a description of the current position of the attribute set. |
int | getStyleAttribute() Return the value of the "style" attribute or 0 if there is not one. |