mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-04 00:13:20 +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>
|
</span>, Color Depth: <span id="colorDepth"></span></h4>
|
||||||
</div>
|
</div>
|
||||||
<div id="info">
|
<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>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -19,10 +19,7 @@
|
|||||||
package org.apache.cordova.test;
|
package org.apache.cordova.test;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.webkit.WebView;
|
|
||||||
|
|
||||||
import org.apache.cordova.*;
|
import org.apache.cordova.*;
|
||||||
import org.apache.cordova.api.LOG;
|
|
||||||
|
|
||||||
public class fullscreen extends DroidGap {
|
public class fullscreen extends DroidGap {
|
||||||
@Override
|
@Override
|
||||||
@ -30,6 +27,9 @@ public class fullscreen extends DroidGap {
|
|||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
// Properties must be set before init() is called, since some are processed during init().
|
// 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.setBooleanProperty("fullscreen", true);
|
||||||
|
|
||||||
super.init();
|
super.init();
|
||||||
|
Loading…
Reference in New Issue
Block a user