Package org.robolectric
Interface Robolectric.AttributeSetBuilder
- All Known Subinterfaces:
 AttributeSetBuilder
- All Known Implementing Classes:
 AttributeSetBuilderImpl
- Enclosing class:
 - Robolectric
 
Deprecated.
Builder of 
AttributeSets.- 
Method Summary
Modifier and TypeMethodDescriptionaddAttribute(int resId, String value) Deprecated.Set an attribute to the given value.build()Deprecated.Build anAttributeSetwith the antecedent attributes.setStyleAttribute(String value) Deprecated.Set the style attribute to the given value. 
- 
Method Details
- 
addAttribute
Deprecated.Set an attribute to the given value.The value will be interpreted according to the attribute's format.
- Parameters:
 resId- The attribute resource id to set.value- The value to set.- Returns:
 - This 
AttributeSetBuilder. 
 - 
setStyleAttribute
Deprecated.Set the style attribute to the given value.The value will be interpreted as a resource reference.
- Parameters:
 value- The value for the specified attribute in thisAttributeSet.- Returns:
 - This 
AttributeSetBuilder. 
 - 
build
AttributeSet build()Deprecated.Build anAttributeSetwith the antecedent attributes.- Returns:
 - A new 
AttributeSet. 
 
 - 
 
AttributeSetBuilderinstead.