0
I need to create three menu options in my app, 1 for visitors, another for registrants and another for admin. I created 3 menu files with the options I need, and making the exchange manually right in the menu call works smoothly. How can I do this to demonstrate login functionality using for example fakes like nivel1, nivel2 and nivel3?
Add to the question what you have already done.
– user28595
I don’t understand very well! Could you improve the question?! Try adding your code showing that it was done or some image that simulates what you want!
– viana
Edit your post with the code, it’s better.
– Leonardo Dias
Segue o codigo da chamada do menu:
<android.support.design.widget.NavigationView
 android:id="@+id/nav_view"
 android:layout_width="wrap_content"
 android:layout_height="match_parent"
 android:layout_gravity="start" android:fitsSystemWindows="true" app:headerLayout="@layout/nav_header_home" android:background="@color/colorPrimary" app:itemTextColor="@color/white" app:menu="@menu/activity_home_drawer" /> "activity_home_drawer"by another depending on login using id of fakes users.
– carlos giovani casilo