The prerequisite for this tutorial is the knowledge of layouts resources, allowing us to describe our views in Android.
Let’s start to see now, the main components, also called Widgets, that will allow us to organize our views in different ways.
FrameLayout is usually used to display a single view (only one item) because it is difficult to arrange views with it. The views are drawn in a stack, the most recent of which is at the top. However, you can still use the layout_gravity attribute.
PreviousMenu: Bottom navigation Bar (kotlin/java) Example.