facebookarchive / shimmer-android

An easy, flexible way to add a shimmering effect to any view in an Android app.
http://facebook.github.io/shimmer-android/
Other
5.32k stars 697 forks source link

Add shine without change the original image #71

Closed JavierSegoviaCordoba closed 5 years ago

JavierSegoviaCordoba commented 5 years ago

I tried multiple options but I can't get that the image is not altered its colors, opacity or alpha and only add the shine effect over it.

What is the option?

xiphirx commented 5 years ago

You want to use a ColorHighlightBuilder to build your Shimmer instance to achieve this.

JavierSegoviaCordoba commented 5 years ago

ColorHighlightBuilder

Can you give more info about this? I checked the API reference and I only found this builder: View.DragShadowBuilder

Cobrijani commented 5 years ago

new Shimmer.ColorHighlightBuilder()