public static final class ImageAppearance.Builder
extends java.lang.Object
ImageAppearance
.Constructor and Description |
---|
Builder()
Creates a new
ImageAppearance.Builder
for constructing a ImageAppearance |
Modifier and Type | Method and Description |
---|---|
ImageAppearance |
build()
Constructs a
ImageAppearance
with the specified appearance values. |
ImageAppearance.Builder |
setWidthConstraint(SizeConstraint widthConstraint)
Returns ImageView appearance configured with width constraint.
|
public Builder()
ImageAppearance.Builder
for constructing a ImageAppearance
public ImageAppearance build()
ImageAppearance
with the specified appearance values.ImageAppearance
.public ImageAppearance.Builder setWidthConstraint(SizeConstraint widthConstraint)
widthConstraint
- Constraint which defines the way image width should be calculated.