ModifiersBuilders
public final class ModifiersBuilders
Builders for modifiers for composable layout elements.
Summary
Nested types |
|---|
@RequiresSchemaVersion(major = 1, minor = 200)The content transition of an element. |
public final class ModifiersBuilders.AnimatedVisibility.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 0)
|
public final class ModifiersBuilders.ArcModifiers.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 0)A modifier to apply a background to an element. |
public final class ModifiersBuilders.Background.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 0)A modifier to apply a border around an element. |
public final class ModifiersBuilders.Border.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 0)A modifier for an element which can have associated Actions for click events. |
public final class ModifiersBuilders.Clickable.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 0)The corner of a |
public final class ModifiersBuilders.Corner.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 400)A radius for either circular or elliptical shapes. |
public final class ModifiersBuilders.CornerRadius.BuilderBuilder for |
@ProtoLayoutExperimentalPrebuilt default objects for animated visibility transition animations. |
@RequiresSchemaVersion(major = 1, minor = 0)Metadata about an element. |
public final class ModifiersBuilders.ElementMetadata.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 200)The content transition that is triggered when element enters the layout. |
public final class ModifiersBuilders.EnterTransition.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 200)The content transition that is triggered when element exits the layout. |
public final class ModifiersBuilders.ExitTransition.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 200)The fading animation for content transition of an element and its children, from the specified starting alpha to fully visible. |
public final class ModifiersBuilders.FadeInTransition.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 200)The fading animation for content transition of an element and its children, from fully visible to the specified target alpha. |
public final class ModifiersBuilders.FadeOutTransition.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 0)
|
public final class ModifiersBuilders.Modifiers.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 0)A modifier to apply padding around an element. |
public final class ModifiersBuilders.Padding.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 0)A modifier for an element which has accessibility semantics associated with it. |
public final class ModifiersBuilders.Semantics.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 300)The shadow definition. |
public final class ModifiersBuilders.Shadow.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 200)Interface defining the boundary that a Slide animation will use for start/end. |
@RequiresSchemaVersion(major = 1, minor = 200)The sliding in animation for content transition of an element and its children. |
public final class ModifiersBuilders.SlideInTransition.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 200)The sliding out animation for content transition of an element and its children. |
public final class ModifiersBuilders.SlideOutTransition.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 200)The slide animation will animate from/to the parent elements boundaries. |
public final class ModifiersBuilders.SlideParentBound.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 0)
|
public final class ModifiersBuilders.SpanModifiers.BuilderBuilder for |
@RequiresSchemaVersion(major = 1, minor = 400)A modifier to apply transformations to the element. |
public final class ModifiersBuilders.Transformation.BuilderBuilder for |
Constants |
|
|---|---|
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The element is a Button control. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The element is a Checkbox which is a component that represents two states (checked / unchecked). |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The element is an image. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)Role is undefined. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)This element is a RadioButton which is a component to represent two states, selected and not selected. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The element is a Switch which is a two state toggleable component that provides on/off like options. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The sliding orientation that moves an element vertically from bottom to the top. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The sliding orientation that moves an element horizontally from left to the right. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The sliding orientation that moves an element horizontally from right to the left. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The sliding orientation that moves an element vertically from top to the bottom. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The undefined sliding orientation. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The option that snaps insides of the element and its parent at start/end. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The option that snaps outsides of the element and its parent at start/end. |
static final int |
@RequiresSchemaVersion(major = 1, minor = 200)The undefined snapping option. |
Constants
SEMANTICS_ROLE_BUTTON
@RequiresSchemaVersion(major = 1, minor = 200)
public static final int SEMANTICS_ROLE_BUTTON = 2
The element is a Button control.
SEMANTICS_ROLE_CHECKBOX
@RequiresSchemaVersion(major = 1, minor = 200)
public static final int SEMANTICS_ROLE_CHECKBOX = 3
The element is a Checkbox which is a component that represents two states (checked / unchecked).
SEMANTICS_ROLE_IMAGE
@RequiresSchemaVersion(major = 1, minor = 200)
public static final int SEMANTICS_ROLE_IMAGE = 1
The element is an image.
SEMANTICS_ROLE_NONE
@RequiresSchemaVersion(major = 1, minor = 200)
public static final int SEMANTICS_ROLE_NONE = 0
Role is undefined. It may be automatically populated.
SEMANTICS_ROLE_RADIOBUTTON
@RequiresSchemaVersion(major = 1, minor = 200)
public static final int SEMANTICS_ROLE_RADIOBUTTON = 5
This element is a RadioButton which is a component to represent two states, selected and not selected.
SEMANTICS_ROLE_SWITCH
@RequiresSchemaVersion(major = 1, minor = 200)
public static final int SEMANTICS_ROLE_SWITCH = 4
The element is a Switch which is a two state toggleable component that provides on/off like options.
SLIDE_DIRECTION_BOTTOM_TO_TOP
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
public static final int SLIDE_DIRECTION_BOTTOM_TO_TOP = 4
The sliding orientation that moves an element vertically from bottom to the top.
SLIDE_DIRECTION_LEFT_TO_RIGHT
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
public static final int SLIDE_DIRECTION_LEFT_TO_RIGHT = 1
The sliding orientation that moves an element horizontally from left to the right.
SLIDE_DIRECTION_RIGHT_TO_LEFT
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
public static final int SLIDE_DIRECTION_RIGHT_TO_LEFT = 2
The sliding orientation that moves an element horizontally from right to the left.
SLIDE_DIRECTION_TOP_TO_BOTTOM
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
public static final int SLIDE_DIRECTION_TOP_TO_BOTTOM = 3
The sliding orientation that moves an element vertically from top to the bottom.
SLIDE_DIRECTION_UNDEFINED
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
public static final int SLIDE_DIRECTION_UNDEFINED = 0
The undefined sliding orientation.
SLIDE_PARENT_SNAP_TO_INSIDE
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
public static final int SLIDE_PARENT_SNAP_TO_INSIDE = 1
The option that snaps insides of the element and its parent at start/end.
SLIDE_PARENT_SNAP_TO_OUTSIDE
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
public static final int SLIDE_PARENT_SNAP_TO_OUTSIDE = 2
The option that snaps outsides of the element and its parent at start/end.
SLIDE_PARENT_SNAP_UNDEFINED
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
public static final int SLIDE_PARENT_SNAP_UNDEFINED = 0
The undefined snapping option.