Next, we will talk about RelativeLayout and FrameLayout.
RelativeLayout is a relatively arranged layout, which is opposite to the absolute coordinate layout of AbsoluteLayout.
Controls in the RelativeLayout layout contain rich arrangement attributes:
Layout above: Select id a, and the control is above control A, Layout below, Layout to left .... And so on. When using the RelativeLayout layout, it is best to make a good layout during the interface design, and make changes to the control layout when few programs are running, because the attributes in the RelativeLayout layout are prone to conflicts. For example, layout below and Layout above are the same as id a, so there must be A conflict.
FrameLayout, as its name implies, is related to frames. All the controls in the layout are placed in the upper left corner of the layout, and a layer is overwritten.
The layout attributes of controls in the FrameLayout layout are only a few items. The key is layout_gravity, which controls the control position.
What are common la s of FrameLayout .... I am still not clear about this ....