title: Why are nested weights bad for performance? Alternatives?
body: <p>I have written a couple layout files where I used the <code>layout_weight</code> attribute to create a ratio between different views.</p>
  
  <p>At some point, I start getting lint warnings about nested weights. </p>
  
  <p>So, I wonder why are nested weights bad for performance, and if there is a more efficient way to create a constant ratio between view dimensions that could be used for different screen sizes and that doesn't need to specify a lot of dimension dpi values throught several layout files (for different screen sizes, I mean).</p>
  
  <p>Thank you!</p>