问题描述
我见过的iPhone用户从列表中删除如何 - 它通常刷卡操作,然后显示了一些减/删除按钮
I've seen how iphone users delete from lists - its generally a swipe action and then shows some minus/remove button.
我意识到这是适得其反实现在Android iphone的事情,因为Android用户不知道这个东西。
I realize that it is counterproductive to implement iphone things on android because android users don't know this stuff.
我不想这样做,我只是不知道有更好的/直观的方式从列表视图中删除。
I don't want to do that, I just don't know of a better/intuitive way to delete from a listview.
我已经previously选择了做longclicks列表视图上的物品,这将显示一个alertdialog询问您是否要删除或做其他事情,但是这绝不是做一个明显的事情。
I've previously opted for doing "longclicks" on listview items, which will show an alertdialog asking if you want to delete or do other things, but this is never an obvious thing to do.
我已经看到了在每个视图中显示的删除按钮,但是,随着列表视图的布局打乱,在wasnt'的线框考虑的一种方式。
I've seen delete buttons that are shown in each view, but that messes with the layout of the listview, in a way that wasnt' considered in the wireframes.
什么是一个很好的直观的方式,让用户删除在Android从列表视图项目?
What is a good intuitive way to allow the user to remove items from listviews on android?
推荐答案
下面是我的两分钱之前,我推销我的答案。任何一个谁拥有Android手机会知道或最终找出longclicks往往导致另一个菜单。是的,这不是很明显,但他们要搞清楚,就像iPhone用户已经想出了刷卡操作是删除。
Here's my two cents before I pitch my answer. Any one who has an android phone is going to know or eventually find out that longclicks often lead to another menu. Yes, it's not immediately obvious but they are going to figure it out just as iphone users have figured out the swipe action is to delete.
如果你真的想为用户傻瓜证明的方式来知道如何删除,我会实施复选框
。 (更多关于复选框here)If用户检查的项目,弹出一个软菜单中的在那有一堆的正常长点击相关选项底部。
If you really want a fool proof way for a user to know how to delete, I would implement checkBoxes
. (More on check boxes here)If the user checks the item, bring up a "soft menu" at the bottom that has a bunch of options normally associated with long clicks.
如果你看看Gmail应用程序,并检查一个箱子,你就会明白我的意思,当我说软菜单。
If you look at the gmail application and check a box, you'll see what I mean when I say "soft menu".
您可以去另一种方式是实现复选框,然后有菜单选项。每一个Android用户应该能够看到并找出菜单按钮的设备上,所有设备都有他们。制作的菜单选项的一个删除并就这么简单。
Another way you could go would be to implement check box, then have "menu options." Every android user should be able to see and figure out the menu button on their device, all devices have them. Make one of the menu options delete and you're all set.
http://developer.android.com/guide/practices/ui_guidelines/menu_design.html#options_menu
这篇关于ANDROID从列表视图,用户体验删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!