I am trying to add a WebView
and some other TextView
s in a ScrollView
. It works fine till the content size is small. But when the content increases (which is to be loaded in WebView
), it throws an error saying:
View too large to fit into drawing cache, needs 'x' bytes, only 'y' available".
I tried all different flags and all answers on StackOverflow which I could find, but still unable to solve the issue. Is there a way to have a WebView
inside ScrollView
or not?
I can't use hardwareAccelerated
flag, it makes the whole Activity
slow.