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
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
It means that your
LinearLayout
orRelativeLayout
is not necessary. You can reset theLinearLayout
attribute inbackground
, or deleteRelativeLayout
and useLinearLayout
as the outermost layoutYou have used expired parameters, please be reminded
fill_parent has been listed as expired a long time ago..
http://www.2cto.com/kf/201404/292892.html