如何更改抽屉的状态栏样式?我把这段代码放在我的index.tss文件中但不起作用......
"#drawer": {
openDrawerGestureMode: "OPEN_MODE_ALL",
closeDrawerGestureMode: "CLOSE_MODE_MARGIN",
leftDrawerWidth: 200,
statusBarStyle: "STATUSBAR_BLACK"
},
答案 0 :(得分:-1)
你必须做类似这样的事情。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]
})
由于