How can we implement two levels of menus using Android Navigation Drawer. It should work like this 1. When the user opens the navigation box, the patent menu opens. (Screenshot 1) 2. As soon as the user clicks on a specific item. The submenu associated with this item will be opened with the possibility of expansion. [The parent menu will shift to the left, and the submenu will appear with the right shift] with the option to return. (Screenshot 2)
I tried another solution, for example using ListItem visibility, etc.
source share