Current location - Recipe Complete Network - Complete cookbook of home-style dishes - How does android display four menus in one line?
How does android display four menus in one line?
There is a drawer view control in Androidsupport.v4 Using this control, a menu can be generated, which can be opened or closed horizontally on the screen, giving users a good experience.

Recently, in the project, this effect was used in the design, but this menu effect can be drawn on both sides. It is found that this effect can be achieved by adding almost the same code in xml layout and code.