material-components / material-components/material-components-android
[ShapeableImageView] Can't display FB Shimmer with Glide inside ShapeableImageView
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**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](https://github.com/andhikayuana/reproduce-shapeableimageview/blob/master/app/src/main/java/id/yuana/demo/shimmer/MainActivity.kt) | [xml](https://github.com/andhikayuana/reproduce-shapeableimageview/blob/master/app/src/main/res/layout/activity_main.xml)
**Android API version:** 31
**Material Library version:** 1.5.0
**Device:** Android Emulator Pixel 4 API 29
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Kotlin reproduction in app/src/main/java/id/yuana/demo/shimmer/MainActivity.kt and its layout at app/src/main/res/layout/activity_main.xml. Run the example with Material Library 1.5.0 on Android API 29 or 31, compare ShapeableImageView with ImageView and AppCompatImageView, and verify that the Glide placeholder or error shimmer displays in the expected position.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100