Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 来自WebView的图像_Android - Fatal编程技术网

Android 来自WebView的图像

Android 来自WebView的图像,android,Android,我从网上得到了一张照片,但我看到的照片非常大。我怎么能用“缩小”看到它呢?这是我的webView代码: public class gavros extends Activity { WebView browser; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) {

我从网上得到了一张照片,但我看到的照片非常大。我怎么能用“缩小”看到它呢?这是我的webView代码:

public class gavros extends Activity {
    WebView browser;

        /** Called when the activity is first created. */
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.efimerides);


            browser =(WebView)findViewById(R.id.webview);

            browser.loadUrl("http://...");
        }}

签出WebView的setInitialScale方法:


)

我可以用“两个手指”手动缩小它。我要问的是如何在不手动缩小的情况下看到它。。