com.android.ide.common.rendering.api
Class ItemResourceValue
java.lang.Object
com.android.ide.common.rendering.api.ResourceReference
com.android.ide.common.rendering.api.ResourceValue
com.android.ide.common.rendering.api.ItemResourceValue
- All Implemented Interfaces:
- IResourceValue
public class ItemResourceValue
- extends ResourceValue
Represents each item in the android style resource.
Constructor Summary |
ItemResourceValue(java.lang.String name,
boolean isFrameworkAttr,
boolean isFramework)
|
ItemResourceValue(java.lang.String attributeName,
boolean isFrameworkAttr,
java.lang.String value,
boolean isFramework)
For <item name="foo">bar</item> , item in a style resource, the values of the
parameters will be as follows: |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ItemResourceValue
public ItemResourceValue(java.lang.String name,
boolean isFrameworkAttr,
boolean isFramework)
- See Also:
ItemResourceValue(String, boolean, String, boolean)
ItemResourceValue
public ItemResourceValue(java.lang.String attributeName,
boolean isFrameworkAttr,
java.lang.String value,
boolean isFramework)
- For
<item name="foo">bar</item>
, item in a style resource, the values of the
parameters will be as follows:
- Parameters:
attributeName
- fooisFrameworkAttr
- is foo in framework namespace.value
- barisFramework
- if the style is a framework file or project file.
isFrameworkAttr
public boolean isFrameworkAttr()