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


作者:KillerLegend
出处:http://www.cnblogs.com/KillerLegend/
分享最新的资源,分享个人所得,欢迎关注我的新浪微博
新浪微博主页:ikey4u
我的个人博客:www.ikey4u.com
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

 
原文地址:https://www.cnblogs.com/killerlegend/p/3251447.html