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);
Create another style for v21 and add
@dimen/toolbar_elevation to that style. On normal style don't use elevation and don't use it in xml, just use style="@style/yourCustomToolbarStyle"
@dimen/toolbar_elevation
style="@style/yourCustomToolbarStyle"