Android layout: absolutelayout and framelayout
1. absolutelayout
The layout of the XY precise coordinates of the stator control. The absolute layout lacks flexibility and is more difficult to maintain than other la s without absolute positioning. Because Android devices are diverse and have different resolutions, there are often many differences in the absolute layout of different models. Therefore, it is generally not recommended to use absolute layout to layout the UI. In the control, use the Android: layout_x and Android: layout_y attributes to specify the horizontal and vertical coordinates of the control.
2. framelayout
Frame layout is the simplest layout method. All views added to this layout are displayed in a stacked manner. The first added component is placed at the bottom layer, the view added to the framework is displayed at the top, and the lower-level control is overwritten.