Semi-transparent background of toolbar and statusbar

35 views Asked by At

Hello According to the image above, I want to make my toolbar and status bar white so that the background can be seen

enter image description here enter image description here

1

There are 1 answers

0
marvas On

You could define a color that's a lower opacity version of the color you're using. So if you have a white in your colors.xml that's <color name="white">#FFFFFF</color> you can have a transparent white that's 75% white: <color name="transparent_white">#BFFFFFFF</color>

This is a good reference: Set transparent background of an imageview on Android