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 閱讀(388) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 灵川县| 普陀区| 兴安县| 邻水| 永善县| 临夏市| 县级市| 景谷| 利津县| 都江堰市| 泰和县| 乐业县| 罗甸县| 革吉县| 图片| 永城市| 台中县| 图木舒克市| 定远县| 莒南县| 咸丰县| 驻马店市| 政和县| 浦东新区| 时尚| 湟源县| 平度市| 淳化县| 溧水县| 桑植县| 汉沽区| 衡山县| 元谋县| 萝北县| 东兰县| 昭通市| 合水县| 桑日县| 陵水| 宝坻区| 广河县|