I'm confused how to add the following black gradient to Action Bar. I search a lot for this, but I couldn't find the same. I have seen this gradient in many apps, moreover it's not a drawable file maybe drawable xml file. I tested by making gradient file but gave no exact result
Check first example from blog post
You'll need to create ab_background.xml with gradient action bar.