Waring:This LinearLayout layout or its FrameLayout parent is useless; transfer the background attribute to the other view

解决方法请参考:

You have a single component (row) vertical linear layout, containing another linear layout. This does not make any sense as layout is a container for the multiple components. If there is only one component, such container is redundant and can be replaced directly by the single component it holds.

Same way, the second LinearLayout also makes no sense, holding a single component……

具体方案见:http://stackoverflow.com/questions/14605474/this-linearlayout-layout-or-its-framelayout-parent-is-useless-transfer-the-back

你可能感兴趣的:(LinearLayout)