mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-03 16:03:08 +08:00
Add usage comment.
This commit is contained in:
parent
dd624ccd9c
commit
20db698475
@ -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>
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user