WebSettings setSupportZoom - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for WebSettings setSupportZoom method.

This code example shows how to use the following methods:setCacheMode, setDomStorageEnabled, setJavaScriptEnabled, setSaveFormData, setSavePassword
This code example shows how to use the following methods:setJavaScriptEnabled, setLayoutAlgorithm, setSupportZoom
This code example shows how to use the following methods:setJavaScriptEnabled, setSaveFormData, setSavePassword, setSupportZoom
				return true; 
			} 
		}); 
		 
		WebSettings webSettings = webView.getSettings();
		webSettings.setSavePassword(false);
		webSettings.setSaveFormData(false);
		webSettings.setJavaScriptEnabled(true);
		webSettings.setSupportZoom(false);
		 
		NMEWebView.webView = webView;
		NMEWebView.view = NMEWebView.webView;
		 
		if(withPopup) {
			webView.setLayoutParams(new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
			 
			ImageView closeImageView = new ImageView(GameActivity.getContext());
			closeImageView.setOnClickListener(new View.OnClickListener() {
				@Override 
				public void onClick(View v) {
7
CodeRank
This code example shows how to use the following methods:setJavaScriptEnabled, setSaveFormData, setSavePassword, setSupportZoom
	@Override 
	protected void onCreate(Bundle bundle){
		super.onCreate(bundle);
		WebView mWebView = new WebView(this);
		WebSettings webSettings = mWebView.getSettings();
        webSettings.setSavePassword(false);
        webSettings.setSaveFormData(false);
        webSettings.setJavaScriptEnabled(true);
        webSettings.setSupportZoom(true);
         
        mWebView.loadUrl("file:///android_asset/BSTOverview.html");
        setContentView(mWebView);
	} 
} 
6
CodeRank
This code example shows how to use the following methods:setJavaScriptEnabled, setSaveFormData, setSavePassword, setSupportZoom
	@Override 
	protected void onCreate(Bundle bundle){
		super.onCreate(bundle);
		WebView mWebView = new WebView(this);
		WebSettings webSettings = mWebView.getSettings();
        webSettings.setSavePassword(false);
        webSettings.setSaveFormData(false);
        webSettings.setJavaScriptEnabled(true);
        webSettings.setSupportZoom(true);
         
        mWebView.loadUrl("file:///android_asset/LLQuestion.html");
        setContentView(mWebView);
	} 
} 
6
CodeRank
This code example shows how to use the following methods:setBuiltInZoomControls, setCacheMode, setJavaScriptCanOpenWindowsAutomatically, setJavaScriptEnabled, setSupportZoom
This code example shows how to use the following methods:setBuiltInZoomControls, setDefaultZoom, setLoadWithOverviewMode, setRenderPriority, setSupportZoom
		app_view.setHorizontalScrollBarEnabled(false);
		app_view.setHorizontalScrollbarOverlay(false);
		app_view.setVerticalScrollBarEnabled(false);
		app_view.setVerticalScrollbarOverlay(false);
         
        appViewSett.setRenderPriority( RenderPriority.HIGH );
        appViewSett.setBuiltInZoomControls(false);
        appViewSett.setSupportZoom(false);
        appViewSett.setDefaultZoom(WebSettings.ZoomDensity.FAR);
        appViewSett.setUseWideViewPort(true);
        appViewSett.setLoadWithOverviewMode(true);
         
        Display display = ((WindowManager) getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
        float width = display.getWidth();
        double scale = Math.ceil( ( width / app_width ) * 100 );
         
        Log.v( "app width", " = " + app_width );
        Log.v( "display width", " = " + width );
        Log.v( "current scale()", " = " + app_view.getScale() );
        Log.v( "scale", " = " + scale );
6
CodeRank
This code example shows how to use the following methods:setJavaScriptEnabled, setSaveFormData, setSavePassword, setSupportZoom
	@Override 
	protected void onCreate(Bundle bundle){
		super.onCreate(bundle);
		WebView mWebView = new WebView(this);
		WebSettings webSettings = mWebView.getSettings();
        webSettings.setSavePassword(false);
        webSettings.setSaveFormData(false);
        webSettings.setJavaScriptEnabled(true);
        webSettings.setSupportZoom(true);
         
        mWebView.loadUrl("file:///android_asset/LLOverview.html");
        setContentView(mWebView);
	} 
} 
6
CodeRank
This code example shows how to use the following methods:setCacheMode, setJavaScriptEnabled, setSaveFormData, setSavePassword, setSupportZoom
This code example shows how to use the following methods:setJavaScriptEnabled, setSaveFormData, setSavePassword, setSupportZoom
	@Override 
	protected void onCreate(Bundle bundle){
		super.onCreate(bundle);
		WebView mWebView = new WebView(this);
		WebSettings webSettings = mWebView.getSettings();
        webSettings.setSavePassword(false);
        webSettings.setSaveFormData(false);
        webSettings.setJavaScriptEnabled(true);
        webSettings.setSupportZoom(true);
         
        mWebView.loadUrl("file:///android_asset/SortingQuestion.html");
        setContentView(mWebView);
	} 
} 
6
CodeRank

Related WebSettings setSupportZoom Questions & Answers:

setSupportZoom Method Overview
Sets whether the WebView should support zooming using its on-screen zoom controls and gestures.
See Code Examples for other Android WebSettings Methods: