SubPositionAlignment
data class SubPositionAlignment(val offset: Int = ViewAlignment.DEFAULT_OFFSET, val fraction: Float = ViewAlignment.DEFAULT_FRACTION, val isFractionEnabled: Boolean = true, val includePadding: Boolean = false, val alignToBaseline: Boolean = false, val alignmentViewId: Int = View.NO_ID, focusViewId: Int = View.NO_ID) : ViewAlignment, Parcelable
Alignment configuration specific to a certain sub position.
This will override the default alignment set from ChildAlignment.
Properties
Link copied to clipboard
The id of the child view that should be used for the alignment. If it is View.NO_ID, then the root view will be used instead. This is not necessarily the same view that will receive focus.
Link copied to clipboard
When true, aligns to View.getBaseline for the view used for the alignment
Link copied to clipboard
Link copied to clipboard