public class DeclareStyleableResourceValue extends ResourceValue
ResourceValue.getValue() will return null, instead use getAllAttributes() to
get the list of attributes defined in the declare-styleable.mValue| Constructor and Description |
|---|
DeclareStyleableResourceValue(ResourceType type,
java.lang.String name,
boolean isFramework) |
DeclareStyleableResourceValue(ResourceType type,
java.lang.String name,
boolean isFramework,
java.lang.String libraryName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(AttrResourceValue attr) |
java.util.List<AttrResourceValue> |
getAllAttributes() |
equals, getLibraryName, getRawXmlValue, getResourceType, getValue, hashCode, isUserDefined, replaceWith, setValue, toStringgetName, isFrameworkpublic DeclareStyleableResourceValue(@NonNull
ResourceType type,
@NonNull
java.lang.String name,
boolean isFramework)
public DeclareStyleableResourceValue(@NonNull
ResourceType type,
@NonNull
java.lang.String name,
boolean isFramework,
java.lang.String libraryName)
@NonNull public java.util.List<AttrResourceValue> getAllAttributes()
public void addValue(@NonNull
AttrResourceValue attr)