Add usage comment.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/20db6984 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/20db6984 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/20db6984 Branch: refs/heads/CordovaWebView Commit: 20db6984750e935b7246ee9d7b21691b21c91776 Parents: dd624cc Author: Bryce Curtis <curtis.br...@gmail.com> Authored: Wed May 16 16:47:37 2012 -0500 Committer: Bryce Curtis <curtis.br...@gmail.com> Committed: Wed May 16 16:47:37 2012 -0500 ---------------------------------------------------------------------- test/assets/www/fullscreen/index.html | 3 ++- test/src/org/apache/cordova/test/fullscreen.java | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/20db6984/test/assets/www/fullscreen/index.html ---------------------------------------------------------------------- diff --git a/test/assets/www/fullscreen/index.html b/test/assets/www/fullscreen/index.html index ab910ac..8fa24da 100755 --- a/test/assets/www/fullscreen/index.html +++ b/test/assets/www/fullscreen/index.html @@ -35,7 +35,8 @@ </span>, Color Depth: <span id="colorDepth"></span></h4> </div> <div id="info"> - The app should take over the entire screen. The top Android status bar should not be shown. <br> + The app should take over the entire screen. <br> + The top Android status bar should not be shown. </div> </body> </html> http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/20db6984/test/src/org/apache/cordova/test/fullscreen.java ---------------------------------------------------------------------- diff --git a/test/src/org/apache/cordova/test/fullscreen.java b/test/src/org/apache/cordova/test/fullscreen.java index 8b14624..7fcd79b 100755 --- a/test/src/org/apache/cordova/test/fullscreen.java +++ b/test/src/org/apache/cordova/test/fullscreen.java @@ -19,10 +19,7 @@ package org.apache.cordova.test; import android.os.Bundle; -import android.webkit.WebView; - import org.apache.cordova.*; -import org.apache.cordova.api.LOG; public class fullscreen extends DroidGap { @Override @@ -30,6 +27,9 @@ public class fullscreen extends DroidGap { super.onCreate(savedInstanceState); // Properties must be set before init() is called, since some are processed during init(). + + // fullscreen can also be set in cordova.xml. For example, + // <preference name="fullscreen" value="true" /> super.setBooleanProperty("fullscreen", true); super.init();