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.
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.