Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Library forces arbitrarily small image width #300

Open
Nattle opened this issue Dec 23, 2021 · 1 comment
Open

Library forces arbitrarily small image width #300

Nattle opened this issue Dec 23, 2021 · 1 comment

Comments

@Nattle
Copy link

Nattle commented Dec 23, 2021

I work on integrated devices and we target a few specific screen sizes. For our tests it is extrememly useful to have screen shots of an entire screen / activity. Stitching them together with imagemagick is possible but adds another layer of tooling / processing.

This is our current fix, with which I have a love / hate relationship:
FieldUtils.writeField(ScreenshotImpl.getInstance(), "mTileSize", 1366, true);

I would much rather have ScreenshotImpl.getInstance().overrideScreenSize(...) or some such.

@Nattle
Copy link
Author

Nattle commented Jun 1, 2022

bump?

Any better solution to this than reflection?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant