0

How to convert scrollview content to Bitmap.I follow bellow link but it gives Java.lang.IllegalargumwentException.Width and height must be >0.

How to convert all content in a scrollview to a bitmap?

Community
  • 1
  • 1
  • well, it the scrollview width/height is = 0, this mean that you re trying to capture the scrollview to early. Try to listen to the view event or a global view listener so you know when your view is drawn totally and the good time to capture it. – Hugo Gresse May 23 '16 at 07:14
  • As ScrollView contains only one child, so you can get context from that child instead of scrollview – Mehta May 23 '16 at 07:22
  • Thank u Gresse.I will try – user1573277 May 23 '16 at 07:23

0 Answers0