【发布时间】:2014-09-02 12:35:02
【问题描述】:
我正在使用 Windows Phone 8 SDK 开发针对 WP7 的应用程序,因此它也与 WP8 兼容。
我面临的问题是 720P 模拟器上的状态栏非常高。
这是我使用的 xaml:
<phone:PhoneApplicationPage ...
shell:SystemTray.BackgroundColor="{StaticResource HeaderBackgroundColor}"
shell:SystemTray.IsVisible="True"/>
这是结果
如果我添加透明度以使状态栏更短,我会得到一个黑色矩形。
<phone:PhoneApplicationPage ...
shell:SystemTray.BackgroundColor="{StaticResource HeaderBackgroundColor}"
shell:SystemTray.Opacity="0.99"
shell:SystemTray.IsVisible="True"/>
我的问题是:
有没有办法改变黑色空间的颜色(我想如果不只针对 WP8 就没有办法将其移除)?可能正在使用反射..
【问题讨论】:
标签: windows-phone-7 windows-phone-8