-5

I want something like this:

enter image description here

I have no idea how to achieve that... any help!

Vidhi Dave
  • 5,614
  • 2
  • 33
  • 55
  • 2
    Possible duplicate of [How to set transparency of Navigation drawer background?](https://stackoverflow.com/questions/23808398/how-to-set-transparency-of-navigation-drawer-background) – Vishal Yadav Oct 25 '17 at 05:40

1 Answers1

0

Try below way;

navigationView.getBackground().setColorFilter(0x80000000, PorterDuff.Mode.MULTIPLY);
Vishal Vaishnav
  • 3,346
  • 3
  • 26
  • 57