Muddz / QuickShot

[Moved to MavenCentral] Capture images of any View, SurfaceView or Bitmap from your Android app in: .jpg .png or .nomedia with simple oneliner codes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Save full views (not only visible parts)

galadril opened this issue · comments

Question, my page has a lot of data, that doesnt fit your screen.
Is it possible to save the full view, and not only that whats visible in the screen??

Thanks

QuickShot only takes screenshots of Views rendered on the screen, but try this method:
https://github.com/Muddz/QuickShot/blob/master/quickshot/src/main/java/com/muddzdev/quickshot/QuickShotUtils.java#L29

Copy-paste the code in a helper/seperate class and customize it to your use if you target View is not a RecyclerView.
The Bitmap object it returns should to be passed in like QuickShot.of(bitmap)

Thanks!

I think that your code suggests that all the lists in a row contain the same height??

My quick assumption is that it should work regardless of different heights. Just try it out and see, if its not working, then you should just try to customize the code to fit your case. Much of the work is already done in the method