Eros Live
          Find the Way
          posts - 15,comments - 0,trackbacks - 0

          1.字體大小

          synchronized void
          setTextSize(WebSettings.TextSize t)

          Set the text size of the page.

          2.縮放比例

          void
          setSupportZoom(boolean support)

          Set whether the WebView supports zoom

          void
          setInitialScale(int scaleInPercent)

          Set the initial scale for the WebView.

          boolean
          zoomIn()

          Perform zoom in in the webview

          boolean
          zoomOut()

          Perform zoom out in the webview

          3.縮放控件

          void
          setBuiltInZoomControls(boolean enabled)

          Sets whether the zoom mechanism built into WebView is used.

          4.JavaScript支持

          synchronized void
          setJavaScriptEnabled(boolean flag)

          Tell the WebView to enable javascript execution.

          posted on 2010-07-28 12:49 Eros 閱讀(390) 評(píng)論(0)  編輯  收藏

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 墨脱县| 德钦县| 浠水县| 凌源市| 于都县| 安国市| 兴宁市| 西乌珠穆沁旗| 陇川县| 黄龙县| 二连浩特市| 故城县| 望都县| 全椒县| 浮梁县| 荆州市| 福鼎市| 五莲县| 运城市| 柏乡县| 乌拉特中旗| 嫩江县| 北安市| 平罗县| 孟津县| 军事| 沙河市| 永顺县| 江都市| 自贡市| 铜山县| 桐梓县| 河曲县| 沙洋县| 萨迦县| 普兰店市| 凤阳县| 蒙阴县| 兴安县| 合山市| 佛山市|