[英]Titanium nl.fokkezb.drawer change statusbarstyle
How I can change the status bar style of the drawer? 如何更改抽屉的状态栏样式? I put this code in my index.tss file but doesn't work...
我将此代码放在index.tss文件中,但是不起作用...
"#drawer": {
openDrawerGestureMode: "OPEN_MODE_ALL",
closeDrawerGestureMode: "CLOSE_MODE_MARGIN",
leftDrawerWidth: 200,
statusBarStyle: "STATUSBAR_BLACK"
},
You have to do something like this index.js 您必须执行类似index.js的操作
var mainWindow = NappDrawerModule.createDrawer({
centerWindow: $.navController,
leftWindow: $.winLeft,
rightWindow: $.winRight,
closeDrawerGestureMode: NappDrawerModule.CLOSE_MODE_ALL,
openDrawerGestureMode: NappDrawerModule.OPEN_MODE_ALL,
leftDrawerWidth: 180,
rightDrawerWidth: 220,
statusBarStyle: NappDrawerModule.STATUSBAR_WHITE,
orientationModes: [Ti.UI.PORTRAIT, Ti.UI.UPSIDE_PORTRAIT]
})
Thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.