bosphere / Android-FadingEdgeLayout

A versatile layout that fades its edges regardless of child view type.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fade color

MinaSamirCap opened this issue · comments

Can I change the fade color ..??

The fading edges are not implemented as color overlay but rather linear gradient alpha mask of the content. So it'll naturally follow the color of the background.

that means I can not have different colors for the background and the fading color
the fading color will follow the background color only...

No you cannot have different colors because the fading edge is not made by drawing an overlay on top of the content. Intead it makes the content transparent to appear as if there is a fading edge.

okay thanks