Can I add a button to the navigation drawer menu?

Asked 2 years ago, Updated 2 years ago, 27 views

Can I add a button to the red square part of the image below in the navigation drawer?

android

2022-09-22 14:35

1 Answers

I think I used NavigationView for the screen shot. When using NavigationView, it has the advantage of making a drawer with a material design easily and quickly, but it is difficult to apply a custom design. If you want to add a button to that location, I think you should modify the code to design the inside of the drawer using a general layout rather than creating an item inside the drawer through menu resources.


2022-09-22 14:35

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.