ステータス バーの色をページの背景色と一致するように変更しようとしていますが、うまくいかないようです。
以下は私のhome.cssがどのように見えるかです
Page {
background-color: #5497CB;
color:#ecf0f1;
}
これが私のhome.jsの外観です
var frameModule = require("ui/frame");
exports.loaded = function(args) {
var page = args.object;
var iosFrame = frameModule.topmost().ios;
if (iosFrame) {
iosFrame.navBarVisibility = 'never';
}
};
そして最後に、これが私のhome.xmlです
<Page loaded="loaded">
<StackLayout orientation="vertical">
<TextField id="email_address" text="{{ email }}" hint="Email Address" keyboardType="email" />
<TextField secure="true" text="{{ password }}" hint="Password" />
<Button text="Sign in" tap="signIn"/>
<Button text="Sign up for Groceries" cssClass="link" tap="register"/>
</StackLayout>
</Page>
複雑すぎて何もわからないので、ステータスバーの色を白いフォントと同じ背景色にしようとしています!
ポインタはありますか?
