Reputation: 1034
I am currently building an app that uses the material design theme as a base theme.
However the action bar has a dark shadow below the action bar. I have tried everything I can think of, but I can't seem to get rid of it. Here is a screen shot showing what I mean: https://docs.google.com/file/d/0B_krkpxyd558V0p6a1NKZXFHeHc/edit?usp=docslist_api
If someone could tell me how I can get rid of it, I would much appreciate it.
Thanks Corey :)
Upvotes: 1
Views: 2485
Reputation: 44118
Shadow is created by using elevation, here's how you can disable it programmatically:
getActionBar().setElevation(0);
Upvotes: 9