html - How to enable title bar in Cordova Application? -
below code... not able enable title bar in application. how enable ? config.xml
<widget id="com.example.hello" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <preference name="loglevel" value="debug" /> <feature name="whitelist"> <param name="android-package" value="org.apache.cordova.whitelist.whitelistplugin" /> <param name="onload" value="true" /> </feature> <allow-intent href="market:*" /> <name>helloworld</name> <description> sample apache cordova application responds deviceready event. </description> <author email="dev@cordova.apache.org" href="http://cordova.io"> apache cordova team </author> <content src="index.html" /> <access origin="*" /> <allow-intent href="http://*/*" /> <allow-intent href="https://*/*" /> <allow-intent href="tel:*" /> <allow-intent href="sms:*" /> <allow-intent href="mailto:*" /> <allow-intent href="geo:*" /> </widget>
i tried this..
<preference name="fullscreen" value="false">
but not working... still activity displayed in fullscreen mode... how disable fullscreen , show title bar ?
add these 2 lines in config file
preference name="fullscreen" value="false" preference name="showtitle" value="true"
Comments
Post a Comment