Gradient Transparency for a View
#1
Hi,

Is there a way to make a component partially transparent? The idea would be that, when you have a long list for example, the bottom of the list would fade out gradually.

I am not sure if this description is clear, I was thinking about a transparency mask which could be applied on a view, but I didn't find anything to apply such effect.

Pierre
Reply
#2
Like this ?

Image

You need to apply a diffuse texture to a copy of the background texture but above the list.

Check out the code here -

https://github.com/HitcherUK/skin.alaska...0_List.xml
Reply
#3
Yes that's it. Thx a lot.

I looked at the code, do you know how colordiffuse is used in this context? Is it combined with background?
Reply
#4
https://github.com/HitcherUK/skin.alaska...fs.xml#L76
Reply

Logout Mark Read Team Forum Stats Members Help
Gradient Transparency for a View0