Phonegap 3.0 设置APP是否全屏
2013-09-24 15:41
162 查看
Phonegap 3.0 默认是全屏,如需要取消全屏,可手动修改config,
在APP/res/xml/config.xml文件可设置preference:
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.agile.ittm" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>ITTM</name>
<description>
A sample Apache Cordova application that responds to the deviceready event.
</description>
<author email="dev@callback.apache.org" href="http://cordova.io">
Apache Cordova Team
</author>
<content src="index.html" />
<access origin="*" />
<preference name="fullscreen" value="true" />
<preference name="webviewbounce" value="true" />
</widget>
在APP/res/xml/config.xml文件可设置preference:
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.agile.ittm" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>ITTM</name>
<description>
A sample Apache Cordova application that responds to the deviceready event.
</description>
<author email="dev@callback.apache.org" href="http://cordova.io">
Apache Cordova Team
</author>
<content src="index.html" />
<access origin="*" />
<preference name="fullscreen" value="true" />
<preference name="webviewbounce" value="true" />
</widget>
相关文章推荐
- Android(判断wifi是否开启,手机屏幕状态,sdcard是否被拔出,设置全屏)
- Android开发小技巧之--------继承AppCompatActivity后设置全屏的问题
- Android(判断wifi是否开启,手机屏幕状态,sdcard是否被拔出,设置全屏)
- 设置iOS APP背景图全屏&NavigationBar透明
- AppCompatActivity设置全屏/状态栏颜色
- 系统状态栏设置背景颜色和APP标题栏一致(非全屏)
- app引导页面播放视频,videoview设置全屏.倒数秒数进入主页面
- Phonegap修改全屏/非全屏设置 Html5
- Android 检查APP是否被设置禁止显示通知
- Android 检查APP是否被设置禁止显示通知
- Android继承AppCompatActivity后实现全屏设置
- Android继承AppCompatActivity后实现全屏设置
- Android app设置全屏模式
- ndroid开发小技巧之--------继承AppCompatActivity后设置全屏的问题
- phonegap中设置横向全屏
- Phonegap批改全屏/非全屏设置 Html5
- Activity和AppCompatActivity全屏设置
- 安卓全屏设置实现(基于Activity与AppCompatActivity)
- 移动开发webapp开发常用meta设置手机浏览器全屏模式,webappmeta
- Android 检查APP是否被设置禁止显示通知