I'm trying to generate screenshots for a Material components button, but I noticed button icons are missing in the screenshot. The screenshots only show the button text instead of the button text and icon.
The rendered screenshot below
The screenshot is supposed to look like this.
Steps to reproduce
I followed the steps from #253 to setup screenshots-tets-for-android for material components.
Explanation
I'm trying to generate screenshots for a Material components button, but I noticed button icons are missing in the screenshot. The screenshots only show the button text instead of the button text and icon.
The rendered screenshot below
The screenshot is supposed to look like this.
Steps to reproduce
activity_main.xml
And finally wrote my test case
Did I miss something
Briefly
Everything works fine except the icons are missing when taking screenshots of the MaterialButton