Hello,
My requirement is to create an activity that holds WebView.
I want my activity to load WebView by creating WebView objects as per
the requirements i.e. for every new web pageI want to reuse my
activity.
For this I have a layout for my activity. And I create new WebView for
each request.
Your code seems to go in two directions at once: by inflating a layout, and
creating a WebView with new.
For instantiation with new, I think you might need to set layout paramters
when calling addView - I would try FILL_PARENT / FILL_PARENT first.
For inflating a web view on demand, I'm using a
2 matches
Mail list logo