“Defines whether widgets contained in this layout are baseline-aligned or not.”
By setting android:baselineAligned="false"
, app prevents the layout from aligning its children’s baselines, that means app doesn’t worry about where the baseline of other elements in the layout, which increases the UI performance.
Note: By default, baselineAligned
is set to true
.