Open adhiamboperes opened 9 months ago
I have checked this for an explanation of this lint warning. I'm curious about the usage of weight in these layouts. Is it necessary?
I think the weight assignment indicates that the TextView should take up a proportional amount of space horizontally in the linear layout. An alternative would be to use a constraint layout.
@DeonWaju, Sure, let's go with your approach.
@DeonWaju, Sure, let's go with your approach.
Sorry not clear, the first approach or using a constraint layout?
The first one for baseline alignment. Pere the SO link, it seems to be a performance improvement, and will require the least effort.
@DeonWaju , Re: your comment:
I have checked this for an explanation of this lint warning. I'm curious about the usage of weight in these layouts. Is it necessary?