mardi 25 août 2020

Instrumented Test UI is different than on Debug Build

I have a Fragment under test and I am currently taking snapshots of the UI to ensure consistency.

Currently, my Fragment displays correctly themed when running fully on the device, but, when I instantiate the Fragment in an Instrumented test, the UI's theme looks completely different.

How do I force my Instrumented Fragment's UI to look exactly like when it's running during the application?

Aucun commentaire:

Enregistrer un commentaire