update readme

This commit is contained in:
bosphere
2018-11-01 14:06:20 +08:00
parent ed5879e78a
commit b0b2bb8c0b

View File

@@ -46,6 +46,8 @@ mFadingEdgeLayout.setFadeEdges(mEnableTop, mEnableLeft, mEnableBottom, mEnableRi
mFadingEdgeLayout.setFadeSizes(lenPx, lenPx, lenPx, lenPx);
```
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.
Compatibility
-------------