android - Black background while ScrollView loads -


i have scrollview in activity contains webview , looks scrollview takes little bit load showing black background until has loaded. if try , put layout behind scrollview white background fade indicates can scroll turns white too.

i've tired putting background colour on layouts both within , outside scroll view; 1 affects scrolling fade , other doesn't load leaving black space, same setting colour on scroll view itself.

if takes time scrollview load, means have processing can done in background. may want move processing background thread (using asynctask) , update gui in onpostexecute.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -