This is pretty common in iOS, gradient toolbar but it's rare in Android. However, there are hacks to combine status bar and toolbar. But we can make it simpley using a custom until. Just take a look of this project and we can get a proper idea that how to use this: This code is working from API 21 and above
Just change BaseStatusBar backgound as per your requirements. Dont forget to change your ActionBar style. Use this "Theme.AppCompat.Light.NoActionBar" Also the custom style "AppTheme.GradientStatusBar" both in style.xml and Manifest
Author: Ahmed Faisal
Dont forget to give 5 star. 😉😀😎