隐藏或不隐藏 Windows Phone 7 应用程序中的系统托盘?

发布于 2024-10-26 12:44:26 字数 573 浏览 8 评论 0原文

我正在争论是否隐藏 Windows Phone 7 应用程序中的系统托盘。我没有找到关于此问题的任何一般建议 - 官方 Windows Phone设计指南根本没有解决这个问题 - 除了Jeff Wilcox的博客文章谁建议他个人喜欢在应用程序中看到系统托盘。我希望其他 Windows Phone 开发人员就这个问题提供一些一般性建议。

显示系统托盘的一些原因是

  • 不占用太多空间
  • 用户有时可能希望看到它

隐藏它的原因是

  • 您无法控制其背景:除非您使用 PhoneBackgroundBrush 作为背景,否则顶行将脱颖而出
  • 许多广泛使用的/官方应用程序已经隐藏了它:所有游戏以及官方 Facebook 和 Twitter 应用程序。

我很感激所有对此的建议。

I am debating whether to hide or not to hide the system tray in a Windows Phone 7 application. I've not found any general suggestions on this issue -the official Windows Phone design guidelines don't address this issue at all - except for Jeff Wilcox's blog post who suggested that he personally likes to see the system tray in applications. I'd like some general advice on this issue from other Windows Phone developers.

Some reasons for showing the system tray are

  • Doesn't take up that much space
  • Users may want to see it at times

Reasons for hiding it are

  • You can't control its background: unless you're using PhoneBackgroundBrush as the background the top row will stand out
  • Lots of widely used / official apps already hide it: all games as well as the official Facebook and Twitter app.

I'd appreciate all advice on this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

挽你眉间 2024-11-02 12:44:26

现在,通过设置 Mango 的背景颜色和不透明度,可以实现透明度和颜色:

shell:SystemTray.IsVisible="True"
shell:SystemTray.BackgroundColor="Transparent"
shell:SystemTray.Opacity="0"

我想说的是,默认情况下会显示它,除非它确实以您无法解决的方式妨碍,特别是如果它是一个应用程序而不是游戏。

Transparency and colors are now possible with Mango by setting its BackgroundColor and Opacity :

shell:SystemTray.IsVisible="True"
shell:SystemTray.BackgroundColor="Transparent"
shell:SystemTray.Opacity="0"

I would say by default show it unless it really gets in the way in a way you can't workaround, especially if its an app and not a game.

一曲爱恨情仇 2024-11-02 12:44:26

我想说这取决于您正在编写的应用程序/游戏

如果应用程序需要网络连接或者您将在应用程序中使用很长一段时间,请显示它,以便用户可以密切关注网络和电池。

如果您需要额外的屏幕空间(用于游戏?),并且您很少需要网络,请将其隐藏。

或者......我想你把它留给用户并给他们一个设置以编程方式隐藏/显示它。

I would say it depends on the application/game you are writing

If the app needs a network connection or if you will be in the application for a long period of time show it so the user can keep an eye on network and battery.

If you need the extra screen space (for a game?), and you rarely need network hide it.

Or... I guess you leave it up-to the user and give them a setting to programatically hide/show it.

时光礼记 2024-11-02 12:44:26

我认为最好在工具或实用程序应用程序中使用托盘。通常,这些用户在使用手机上的应用程序时更喜欢更多的信息(电池、网络、时间)。

此外,在其中添加托盘往往会使应用程序在手机上看起来更加原生(根据我和我询问的其他人的说法),这是一个很大的优点,因为用户将您的应用程序关联起来,就好像它是与手机操作系统构建的一样。

但如果应用程序是游戏、媒体等类型的应用程序,我建议您将其关闭,尤其是在全景图上,因为它偏离了预期的设计。此外,这些类型的应用程序专注于内容,并且在顶部看到多个小图标可能会影响体验。

对我来说,它所占用的空间实际上并没有那么大,所以这不应该是一个太大的问题。而是应用程序的目的如上所述。

我确实喜欢为用户提供选择的建议。查看这段代码:

        bool ShowTray;

        //ASK USER WHAT THEY WANT
        //ShowTray = true or false;

        SystemTray.IsVisible = ShowTray;

I think its best to use the tray in applications that are tools or utilities. Typically these users would prefer more info than less when they're using applications on the phone (battery, network, time).

Also adding the tray in there tends to make the application look more native on the phone (according to me and others I've asked), which is a big plus because the user associates your app as if it was built with the phone OS.

But if the application is a game, media, etc. type of application I recommend you take it off, especially on panorama because it takes away from the intended design. Also these types of applications focus on the content and seeing multiple little icons at the top can take away from the experience.

Really to me the space it occupies isn't really THAT much, so that shouldn't be too much of an issue. But rather the purpose of the app as stated above.

I do like the suggestions that have been given as far as giving the user the choice. Check out this code:

        bool ShowTray;

        //ASK USER WHAT THEY WANT
        //ShowTray = true or false;

        SystemTray.IsVisible = ShowTray;
乖不如嘢 2024-11-02 12:44:26

我一直不情愿地隐藏起来,至少在任何有背景图像的视图上;否则我觉得太奇怪了。我一直在考虑在我的应用程序中设置一个允许用户选择的设置,并将其保存到隔离存储中。

还考虑可能将屏幕顶部设置为手机背景画笔颜色,并将其淡入/混合到另一种颜色或背景图像中。不确定结果如何,但只要它不是看起来俗气的渐变效果,也许吧。

我希望微软最终能够很快在系统托盘中添加对透明度的支持,或者以其他方式帮助解决这个问题。作为用户,我希望能够强制系统托盘在所有应用程序中始终可见,但作为开发人员,我意识到视觉效果通常看起来不太好。

也许如果社区想出一个新的用户体验隐喻,双击系统托盘区域可能会切换它是否可见。单击一下可能会开始在系统托盘上显示动画/弹出/提示......

I've been reluctantly hiding, at least on any view where I have a background image; otherwise it looks too strange to me. I've been considering a setting in my app that would allow the user to choose, and persisting that to isolated storage.

Also considering maybe having the top of the screen in phone background brush color and have it fade / blend into another color or background image. Not sure how well that would turn out but as long as it is not a cheesy looking gradient effect, perhaps.

I'm hoping eventually MS will soon add support for transparency in the system tray or otherwise help address this issue. As a user I wish that I could force the system tray to always be visible across all apps, but as a developer I realize that the visual effect often doesn't look good.

Perhaps if the community came up with a new UX metaphor where maybe double-tapping in the system tray area would toggle whether it is visible. A single tap could perhaps start to animate / pop / hint at the system tray...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文