Add usage comment.

This commit is contained in:
Bryce Curtis 2012-05-16 16:47:37 -05:00
parent dd624ccd9c
commit 20db698475
2 changed files with 5 additions and 4 deletions

View File

@ -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>

View File

@ -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();