Code example for WebView: Displaying web pages

Methods: loadUrlsetScrollBarStyle, setScrollContainer, setVisibility

0
                b.setVisibility(View.GONE);
                final WebView w = (WebView)convertView.findViewById(R.id.webViewDialog);
                mHandler.postDelayed(new Runnable() {
					@Override 
					public void run() { 
						w.setVisibility(View.VISIBLE);
						w.loadUrl("file:///android_asset/" + file);
						w.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
						w.setScrollContainer(true);
					} 
                }, (position == posFG ? delayFG : delay ));
                break; 
           	case IO:
               	//convertView = mInflater.inflate(R.layout.io_one, null); 
               	final ViewSwitcher vs = (ViewSwitcher)convertView.findViewById(R.id.switcher);
               	OnClickListener exp = new OnClickListener() {
					@Override 
					public void onClick(View v) {
						switchToExport(vs, true);
					} 
               	};