material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[ShapeableImageView] Can't display FB Shimmer with Glide inside ShapeableImageView

Open andhikayuana opened this issue 3 years ago • 2 comments

Description: Hi, I need to display shimmer loader to the ShapeableImageView using placeholder/error method from Glide. But If I compared it to ImageView or AppCompatImageView, the shimmer appears properly

Expected behavior: Screenshot_1644052615

expected behavior like ImageView or AppCompatImageView, shown as the below the black circle

Source code: here the code: kotlin | xml

Android API version: 31

Material Library version: 1.5.0

Device: Android Emulator Pixel 4 API 29

andhikayuana avatar Feb 05 '22 09:02 andhikayuana

[UPDATE] for now, I add the background attribute to ShapeableImageView for the current workaround

andhikayuana avatar Feb 10 '22 09:02 andhikayuana

Still nothing regarding this? @andhikayuana I don't understand your "workaround". I tried to set the ShimmeringDrawable as background of ShapeableImageView without success.

Quentin1010 avatar Nov 29 '23 21:11 Quentin1010