material-components-android
material-components-android copied to clipboard
[ShapeableImageView] Can't display FB Shimmer with Glide inside ShapeableImageView
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:
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
[UPDATE] for now, I add the background attribute to ShapeableImageView for the current workaround
Still nothing regarding this? @andhikayuana I don't understand your "workaround". I tried to set the ShimmeringDrawable as background of ShapeableImageView without success.