0

I need to create an image as per user input but without rendering the UI.

I know there is a way to render an image by inflating xml file and rendering on the UI or creating view programmatically without rendering.

https://stackoverflow.com/a/3527902

Android take screenshot via code

https://stackoverflow.com/a/9805831

However, is there a way to generate an image from xml without inflating or composable without rendering?

Chitrang
  • 5,055
  • 1
  • 34
  • 54

0 Answers0