Package org.robolectric
Interface Robolectric.AttributeSetBuilder
- All Known Subinterfaces:
 AttributeSetBuilder
- All Known Implementing Classes:
 AttributeSetBuilderImpl
- Enclosing class:
 - Robolectric
 
@Deprecated public static interface Robolectric.AttributeSetBuilder
Deprecated.
Use 
AttributeSetBuilder instead.Builder of 
AttributeSets.- 
Method Summary
Modifier and Type Method Description Robolectric.AttributeSetBuilderaddAttribute(int resId, String value)Deprecated.Set an attribute to the given value.AttributeSetbuild()Deprecated.Build anAttributeSetwith the antecedent attributes.Robolectric.AttributeSetBuildersetStyleAttribute(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. 
 
 -