34,333
edits
Changes
→Constraint Bias
== Constraint Bias ==
It has now been established that a widget in a ConstraintLayout can potentially be subject to opposing constraint connections. By default, opposing constraints are equal, resulting in the corresponding widget being centered along the axis of opposition. Figure 17 -3, for example, shows a widget centered within the containing ConstraintLayout using opposing horizontal and vertical constraints:
[[File:Android constraintlayout centered.png|center|ConstraintLayout centering using opposing constraints]]
Figure 17-3
[[File:Android constraintlayout bias.png|center|Android ScontraintLayout Bias diagram]]
Figure 17-4