This LinearLayout layout or its RelativeLayout parent is possibly useless; transfer the background attribute to the othe
线性布局上面有个叹号,怎么去掉
阿神2017-04-17 11:43:43
It means that your LinearLayout
or RelativeLayout
is not necessary. You can reset the LinearLayout
attribute in background
, or delete RelativeLayout
and use LinearLayout
as the outermost layout
天蓬老师2017-04-17 11:43:43
You have used expired parameters, please be reminded
fill_parent has been listed as expired a long time ago..
天蓬老师2017-04-17 11:43:43
Reason for warning: The warning prompt means that the parent layout control (the outermost LinearLayout) is not useful in this layout file; the reason is that there is a child LinearLayout layout nested in the LinearLayout layout, and in my entire In the layout file, there is an outermost LinearLayout that performs the overall layout for the parent control, which causes this layout code to duplicate the LinearLayout layout.
The ending method is very simple and only requires a repeated LinearLayout
http://www.2cto.com/kf/201404/292892.html