Skip to content

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

Notifications You must be signed in to change notification settings

afrussel/Gradient_toolbar_statusbar

Repository files navigation

Android Gradient toolbar and status bar

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

Usage

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

Credits

Author: Ahmed Faisal

Dont forget to give 5 star. 😉😀😎

screenshot

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages