I would like to put a fade black covering my image, just like this one, with a text, a fade background and then my image. I just want to know how to implement this fade. Thank you!
then inside your target xml, create a View like this one, look that inside it, we're setting the background as your drawable file. In this case is gradient_background
2
Answers
Just create a drawable file, I'll name it gradient_background (you can set any name)
then inside your target xml, create a View like this one, look that inside it, we're setting the background as your drawable file. In this case is gradient_background
So it should look like this:
:)
First, Make bottom_transparent_gradient.xml
Then, add that drawable as your view background in which you want to show the fade background effect.
And that’s it! You can see the result you wanted. 🙂