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);
Use setOutlineProvider(null); on your appBar. Just be sure to check the SDK version. :)
setOutlineProvider(null);