AttributeSetBuilder
AttributeSetBuilderImpl
AttributeSetBuilder
instead.@Deprecated public static interface Robolectric.AttributeSetBuilder
AttributeSet
s.Modifier and Type | Method | Description |
---|---|---|
Robolectric.AttributeSetBuilder |
addAttribute(int resId,
String value) |
Deprecated.
Set an attribute to the given value.
|
AttributeSet |
build() |
Deprecated.
Build an
AttributeSet with the antecedent attributes. |
Robolectric.AttributeSetBuilder |
setStyleAttribute(String value) |
Deprecated.
Set the style attribute to the given value.
|
Robolectric.AttributeSetBuilder addAttribute(@IdRes int resId, String value)
resId
- The attribute resource id to set.value
- The value to set.AttributeSetBuilder
.Robolectric.AttributeSetBuilder setStyleAttribute(String value)
value
- The value for the specified attribute in this AttributeSet
.AttributeSetBuilder
.AttributeSet build()
AttributeSet
with the antecedent attributes.AttributeSet
.