I'm trying to set a shadow on my navigation drawer after updating the support library but for some reason nothing is working and I'm stumped.
I came across this issue but it's solution is to just use setElevation which is also not working for me: https://code.google.com/p/android/issues/detail?id=184434
There really isn't much code to post but here's what I'm talking about for reference:
int currentapiVersion = android.os.Build.VERSION.SDK_INT;
if (currentapiVersion >= android.os.Build.VERSION_CODES.LOLLIPOP) {
mDrawerLayout.setDrawerElevation(25f);
} else {
mDrawerLayout.setDrawerShadow(R.drawable.left_drawer_shadow, GravityCompat.START);
}
I'm using a ScrimInsetsFrameLayout but that shouldn't be causing the issue AFAIKT.
Any ideas?