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)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 十堰市| 商水县| 独山县| 天津市| 如皋市| 边坝县| 宝清县| 镇坪县| 大庆市| 三门峡市| 视频| 惠来县| 南华县| 连山| 灯塔市| 博野县| 常山县| 平湖市| 乌拉特前旗| 三亚市| 万载县| 宝山区| 紫云| 屯门区| 即墨市| 共和县| 屏南县| 马边| 福清市| 剑河县| 右玉县| 邵阳县| 朝阳县| 远安县| 萨嘎县| 应用必备| 长垣县| 钟山县| 开平市| 北碚区| 秭归县|