平板电脑上 Android Honeycomb 的 UI 指南

发布于 2024-10-19 08:45:30 字数 364 浏览 0 评论 0原文

Android Honeycomb 中的 UI 非常不同。我正在寻找开发人员感兴趣的已更改的内容。谷歌还没有更新它的用户界面指南,所以我试图通过检查布局来找到这些东西。我主要对图标的尺寸和新类型的视图感兴趣。

操作栏高度为 56dp (?android:attr/actionBarSize)。看起来菜单图标现在是 32 x 32 dp,以前是 48 x 48 dp。由于它们位于操作栏中,因此它们周围有很多填充。带内边距的菜单图标的大小为 64 x 56 dp。我需要这个,因为我试图将 ProgressBar 作为菜单项。

还有什么改变吗?另外,我对一些常见 UI 模式的大小感兴趣,例如邮件客户端等列表/详细信息布局的宽度。

The UI in Android Honeycomb is very different. I'm looking for things that have changed that would be of interest to developers. Google hasn't updated it's UI guidelines yet, so I am trying to find this stuff out by inspecting the layouts. I am mainly interested in dimensions of icons and new types of views.

The action bar height is 56dp (?android:attr/actionBarSize). It seems that the menu icons are 32 x 32 dp now, they were 48 x 48 dp before. Since they are in the action bar, they have a lot of padding around them. The size of a menu icon with padding is 64 x 56 dp. I needed this since I was trying to put a ProgressBar as a menu item.

Anything else change? Also, I'm interested in the size of some common UI patterns, like the widths for a list/detail layout like the mail client.

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

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

发布评论

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

评论(4

我偏爱纯白色 2024-10-26 08:45:30

您可能需要查看最新的图标指南以及< a href="http://developer.android.com/design/style/metrics-grids.html" rel="nofollow">指标和网格。

此外,您还可以查看有关操作栏的详细信息以及平台新手

You might want to check out the latest Icon Guidelines as well as the section on Metrics and Grids.

Also, you can see details about the Action Bar and other things that are new to the platform.

GRAY°灰色天空 2024-10-26 08:45:30

最好的办法是购买摩托罗拉 Xoom 并检查一下。如果您没有资金支持这项投资,请使用模拟器。请务必将您的答案发布在这里供其他人使用。

The best thing is to get the Motorola Xoom and check it out. If you don't have the money to support this investment then use the emulator. Be sure to post your answers up here for others.

转身泪倾城 2024-10-26 08:45:30

我可能无法 100% 理解这个问题,但我很确定他们已将所有新内容放入开发指南中,例如新视图和布局指南(例如片段和列表片段)。我还缺少其他东西吗?诚然,片段的文档有点薄弱。

I might not understand the quesiton 100%, but im pretty sure that the have put into the dev guide all the new stuff, such as new views and layout guidlines (such as fragments, and listfragments). Is there something else that im missing? Granted, the documentation for fragments is kinda weak.

蒗幽 2024-10-26 08:45:30

以下是新的图标设计指南

还没有以图形方式看到新视图,但至少片段文档有最近更新了。

Here are the new guidelines for icon design.

Haven't seen the new views graphically but at least the fragment documentation has been updated recently.

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