@Deprecated public class DeclareStyleableResourceValue extends ResourceValue
ResourceValue.getValue() will return null, instead use getAttributeValues(String) to
get the enum/flag value associated with an attribute defined in the declare-styleable.mValue| Constructor and Description |
|---|
DeclareStyleableResourceValue(ResourceType type,
java.lang.String name,
boolean isFramework)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(AttrResourceValue attr)
Deprecated.
|
java.util.Map<java.lang.String,AttrResourceValue> |
getAllAttributes()
Deprecated.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getAttributeValues(java.lang.String name)
Deprecated.
Return the enum/flag integer value for a given attribute.
|
equals, getResourceType, getType, getValue, hashCode, replaceWith, setValue, toStringgetName, isFrameworkclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetName, isFrameworkpublic DeclareStyleableResourceValue(ResourceType type, java.lang.String name, boolean isFramework)
public java.util.Map<java.lang.String,java.lang.Integer> getAttributeValues(java.lang.String name)
name - the name of the attributepublic java.util.Map<java.lang.String,AttrResourceValue> getAllAttributes()
public void addValue(AttrResourceValue attr)