Set android:baselineAligned="false" on this element for bett


When I wrap my layouts in ScrollView, these warnings pop up in the XML:

“Set android:baselineAligned=“false” on this element for better performance”

What does this mean and how does it affect performance?


By default, your layouts will attempt to align the baselines of any child widgets with one another. This takes a bit of time, so if you turn it off you can achieve improved performance.