Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12281] Android: Feature: Allow non-visible zoom controls in WebView

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterEduardo Gomez
AssigneeUnknown
Created2013-01-14T17:39:29.000+0000
Updated2018-02-28T20:03:12.000+0000

Description

Feature Request

Expose setDisplayZoomControls method so the zoom buttons are disabled in a webview but pinch zoom works

Use Case

Developer want pinch zoom on, zoom buttons off

setDisplayZoomControls method

public void setDisplayZoomControls (boolean enabled) Added in API level 11 Sets whether the WebView should display on-screen zoom controls when using the built-in zoom mechanisms. See [setBuiltInZoomControls(boolean)](http://developer.android.com/reference/android/webkit/WebSettings.html#setBuiltInZoomControls(boolean)). The default is true. Parameters enabled whether the WebView should display on-screen zoom controls

Android docs

http://developer.android.com/reference/android/webkit/WebSettings.html#setDisplayZoomControls(boolean)

Comments

  1. Paul Burrowes 2014-11-11

    Has this dropped off the radar, I could do with it...
  2. Be Rushton 2015-05-01

    I could also do with this

JSON Source