Layout Lint


#1

Lint complained on a couple of the linear layouts that they should be of width “0dip” instead of “wrapcontent” for better performance.
Also wanted andoid:baselineAligned=false on the second layout in the tree for better performance.

Tried both but could see no visible enhancement.

FYI it was whining that there was no contentDescription for the ImageButton…


#2

Feel free to listen to those lint warnings. Many of the more irritating ones - like baselineAligned or contentDescription - we don’t bother to address. We should probably fix the layout weight issue, though.