Open ivannarino opened 1 year ago
The workaround I found is to remove the Toolbar setting a theme to the test application via the src/androidTest/AndroidManifest.xml
:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application android:theme="@android:style/Theme.Material.Light.NoActionBar" />
</manifest>
Expected behaviour
When doing screenshots of composables, the screenshot should not have display the shadow of the Toolbar
Actual behaviour
When doing screenshots of composables there is gradient (shadow) at the top of the image.
Steps to reproduce
Record the screenshots
Open the screenshots
Version of the library
5.14.1
Using emulator with Android 32