Hi i would like to remove the elevation and shadow effect from my toolbar for API 21 and greater. Below is what i have tried
setSupportActionBar(mToolbar);
To remove elevation by using java code use the line below...
getSupportActionBar().setElevation(0);