summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebSettings.java
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2013-09-02 10:57:04 +0100
committerMikhail Naganov <mnaganov@google.com>2013-09-05 18:13:07 +0100
commit003033665fd25ce90ed577146a65af10d1e9a151 (patch)
treef6f9f281de3073090dac83458116a5f9b266f20d /core/java/android/webkit/WebSettings.java
parent96661c42d0643c129fed60678aa0b8f99d32b456 (diff)
Add more docs for WebView's setInitialScale and setLoadWithOverviewMode
BUG=10588746 Change-Id: Ibbccd688de9841cc780b933f414a8435c79b51b3
Diffstat (limited to 'core/java/android/webkit/WebSettings.java')
-rw-r--r--core/java/android/webkit/WebSettings.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java
index 19492c25ffc8..7a38a1641831 100644
--- a/core/java/android/webkit/WebSettings.java
+++ b/core/java/android/webkit/WebSettings.java
@@ -333,8 +333,11 @@ public abstract class WebSettings {
}
/**
- * Sets whether the WebView loads pages in overview mode. The default is
- * false.
+ * Sets whether the WebView loads pages in overview mode, that is,
+ * zooms out the content to fit on screen by width. This setting is
+ * taken into account when the content width is greater than the width
+ * of the WebView control, for example, when {@link #getUseWideViewPort}
+ * is enabled. The default is false.
*/
public void setLoadWithOverviewMode(boolean overview) {
throw new MustOverrideException();