Frame layout is one of the simplest layout types to organize controls on the Android user interface.
The child view in the frame layout is always drawn to the upper left corner relative to the screen. All views added to this layout are displayed in a stacked manner. The first view added to the Framework layout is displayed at the bottom layer, and the last view is placed at the top layer. The view on the top layer overwrites the view on the next layer. Therefore, the Framework layout is similar to the STACK layout.
In the Framework layout, common attributes include the following:
Android: top: place the view to the top of the screen
Android: Buttom puts the view at the low end of the screen
Android: Left: place the view to the Left of the screen
Android: Right: place the view to the Right of the screen.
Android: Center_vertical displays the view vertically in the center
Android: Center_horizontal