Android用户界面指南用户界面、指南、Android

2023-09-05 05:23:22 作者:带上耳机╰聆听这世界

任何人都知道一个用户界面指南文件Android应用程序吗?寻找类似的东西Apple's或侏儒的。

Anyone know of a user interface guidelines document for Android applications? Looking for something similar to Apple's or Gnome's.

推荐答案

他们已经给了你的关键环节,你可以找到关于这个问题在网络上。我想补充一些个人的建议我希望我设计我的第一个Android应用程序前添加:

They already gave to you the essential links you can find on the web on the subject. I'd add some personal advices I wish I add before designing my first android app :

卖真正的手机ASAP项目。有很多事情你可以不知道,如果你运行你只能在模拟器应用程序。

Buy a real phone ASAP. There are plenty of things you just can't know if you run your app only on the emulator.

不要去想释放不使用它,至少2周自己的手机上有你的应用程序。吃你自己的狗食的建议更是真正的在这里,因为我们没有足够的经验,这样的设备要依靠直觉。台式电脑的经验并不适合。

Don't think about releasing your app without having using it for at least 2 week yourself on the phone. The advice of eating your own dog food is even more true here because we have not enough experience with such devices to rely on intuition. Desktop computer experience does not suit.

有关大手指设计。你没有一个手写笔,和人民有手指非常不同的大小。所以他们不会获得最大的设计疯了,而普通的人只会感到更加舒适。

Design for big fingers. You don't have a stylus, and people have very different size of fingers. Design for the biggest so they won't get mad, while ordinary people will just feel more comfortable.

为横竖屏设计。在HTC的梦想,键盘迫使你改变布局非常频繁。

Design for both horizontal and vertical screen. On the HTC dream, the keyboard force you to change the layout very often.

避免创建1000的活动。这似乎是一个编程规则,但事实并非如此。当您打开一个活动,它的另一个应用程序上对他人的顶开。其结果是,封闭由一个应用程序可以最终激怒用户,或至少混淆他。 Espacially如果有复杂的恢复状态。

Avoid creating 1000 activities. It seems a programming rule but it's not. When you open an activity, it's another app open on the top on others. As a result, closing the app one by one can eventually piss off the user, or at least confuse him. Espacially if there are complex restore states.

有关中断的设计。这是一个电话:它会打开和关闭,来电的收入,音乐播放等的程序可以打开和关闭1000次,切负荷,节约的权利状态,并确保一致性

Design for interruption. It's a phone : it gets on and off, calls income, music is played, etc. Your app will be open and shut a 1000 times so cut loading, save the right states and ensure congruency.

这是一个小屏幕,避免将在其上的信息。这意味着用户将主要使用的时间只有什么90%。数据或操作的其余部分必须是上下文:长CLIC,菜单,手势,定时器等是的,你的用户将无法找到所有的功能immidiatly。他可能会发现,即使使用在第一次您的应用程序后,他们中的一些monthes。但它为苹果: - )

It's a little screen, avoid putting to much information on it. Meaning only what the user will mostly use 90 % of the time. The rest of the data or actions must be contextual : long clic, menu, gestures, timers, etc. Yes, your user will not find all the feature immidiatly. He will probably even discover some of them monthes after using your app for the first time. But it worked for Apple :-)

滚动很无聊:尽量让你的数据适合在屏幕上。如果不能,尝试用另一个窗口或选项卡以显示更多的信息。滚动功能对于数据的长阅读,并可以​​T在几件破。

Scrolling is boring : try to make your data fit on the screen. If you can't, try to use another windows or tab to display additional info. Scrolling is for data that is long to read and can"t be broken in several pieces.

不要超载您的菜单。上下文菜单经常使用,它可以迅速的使用。如果你有很多东西,创造一个名为更像谷歌一样。

Don't overload your menu. The contextual menu is used very often, it has to be used very quickly. If you have a lot of stuff, create one entry for a submenu named "more" like Google does.

有一些预期的行为,您应该遵循因为手机的其他部分的工作是这样的:

There are some expected behaviors you should follow because the rest of the phone works this way :

点击Back按钮不取消目前的动作,但保存并退出。这不是你期望,如果你一直在其他平台上的东西,但是这是如何接触,设置或短信的工作。所以,这就是你应该怎么做。

Hitting the back button do not cancel the current action but save and quit. It's not what you expect if you have been working on other platforms, but that's how contact, settings or SMS work. So that's how you should do it.

为此取消必须以通常的方式提供:在上下文菜单中选取一项

Therefor cancel must be provided with the usual way : an entry in the contextual menu.

一个集团公司执行的操作。没有确认,也没有保存。您CLIC上的一个设置,该设置的变化。您可以选择在下拉列表中选择一个过滤器,它过滤。这是用户的期望。

A clic performs the action. No confirmation, no "save". You clic on a setting, the setting changes. You select a filter in a drop down list, it filters. That's the user expectation.

当你打开一个应用程序,它返回到最后的状态就一直:最后选择的项目,最后打开的窗口等使用onResume /的onCreate /的onPause方法,以确保一致性

When you open an app, it returns to the last state it has been : last selected item, last opened windows, etc. Use the onResume / onCreate / onPause methods to ensure consistency.

在式书写的文本框开头大写字母文本。这不是自动的文本框控件,您已明确为它要求与在XML布局文件利用。但是,那是什么发生无处不在手机上...

Writting in a text box starts the text with an uppercase letter. This is not automatic with the textbox widget, you have explicitly ask for it with "capitalize" in the XML layout file. But thats what happen everywhere on the phone...

告诉用户,当你正在消耗他的数据计划。这是非常明显的,但我已经看到了应用程序如此混乱呢,你不敢捉迷藏吧。

Tell the user when you are consuming his data plan. This is so obvious, but I have seen app so confusing about it that you don't dare runnning it.

编辑:

顺便说一下,有一个nasty在1.0的bug 是prevent您使用一个标签视图之外的文本框。不知道它的固定在杯形蛋糕。

BTW, there is a nasty bug in 1.0 that prevent you from using a textbox outside of a tab view. Don't know if it's fixed in cupcake.