jogendra / LoadingShimmer

An easy way to add a shimmering effect to any view with just one line of code. It is useful as an unobtrusive loading indicator.
https://jogendra.dev/
MIT License
1.59k stars 74 forks source link

Using Loading Shimmer changes view background color #27

Closed vmammanalupo closed 5 years ago

vmammanalupo commented 5 years ago

Actual Behaviour Using Loading Shimmer changes a view's background color (always white background).

Expected Behaviour Using Loading Shimmer honors the target view's background color, via using it as the backdrop while blurring its contained elements.

Steps to reproduce it

  1. Have a view with a background color.
  2. Cover that view with a loading shimmer via LoadingShimmer.startCovering(view)
  3. Hide the loading shimmer via LoadingShimmer.stopCovering(view)

Observe that the original background color is not honored.

jogendra commented 5 years ago

@vmammanalupo thank you for an opening issue. Can you please work on it? or I will look into it as soon as possible.