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

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


          網站導航:
           
          主站蜘蛛池模板: 杂多县| 崇义县| 罗定市| 莆田市| 漠河县| 敦煌市| 左权县| 平南县| 辽宁省| 高邑县| 容城县| 镇赉县| 柘荣县| 彰武县| 侯马市| 鄂托克前旗| 桃源县| 福泉市| 新邵县| 宜丰县| 方正县| 宣武区| 高陵县| 金乡县| 滁州市| 山阳县| 翁源县| 安国市| 贵阳市| 张家港市| 彰化市| 盐城市| 云安县| 外汇| 湛江市| 新和县| 郎溪县| 蓬溪县| 瑞丽市| 玛曲县| 怀仁县|