Phonegap 3.0 设置APP是否全屏

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>

上一篇:django——form组件


下一篇:006-筛选分类排序搜索查找Filter-Classificatio-Sort-Search-Find-Seek-Locate