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(ResourceUrl url,
java.lang.String value) |
DeclareStyleableResourceValue(ResourceUrl url,
java.lang.String value,
java.lang.String libraryName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(AttrResourceValue attr) |
java.util.List<AttrResourceValue> |
getAllAttributes() |
equals, getLibraryName, getRawXmlValue, getResourceType, getResourceUrl, getValue, hashCode, isUserDefined, replaceWith, setValue, toStringgetName, isFrameworkpublic DeclareStyleableResourceValue(@NonNull
ResourceUrl url,
@Nullable
java.lang.String value)
public DeclareStyleableResourceValue(@NonNull
ResourceUrl url,
@Nullable
java.lang.String value,
@Nullable
java.lang.String libraryName)
@NonNull public java.util.List<AttrResourceValue> getAllAttributes()
public void addValue(@NonNull
AttrResourceValue attr)