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://*.com/questions/14605474/this-linearlayout-layout-or-its-framelayout-parent-is-useless-transfer-the-back

上一篇:几种ESB(企业服务总线)介绍


下一篇:Java进阶篇设计模式之七 ----- 享元模式和代理模式