点击或长按的Android Listview用户交互设计上下文菜单
I have a listview which shows items in rows. Each row has a checkbox which will select the item in row.
我有一个列表视图,显示行中的项目。每行都有一个复选框,用于选择行中的项目。
There are some actions ActionList = { Action1, Action2,...} which can be performed on any item. I plan to show a contextual popup menu which lists all the actions which can be done on the particular item
有一些动作ActionList = {Action1,Action2,...}可以对任何项目执行。我计划显示一个上下文弹出菜单,其中列出了可以对特定项目执行的所有操作
There is a very common Action1 which I would like to put on the bottom of screen as a big button. User can just tap and select the checkbox and press the bottom button to perform Action1.
有一个非常常见的Action1,我想把它作为一个大按钮放在屏幕的底部。用户只需点击并选中复选框,然后按下底部按钮即可执行操作1。
Now as android users are accustomed with tap on the entire row of listview to check the item. I am left with just LongPress to show my context popup menu.
现在,因为Android用户习惯于点击listview的整行来检查项目。我只剩下LongPress来显示我的上下文弹出菜单。
I am left with choices
我有选择权
(a) Continue with what I have
(a)继续我所拥有的
(b) Split the tap into 2 parts, if user taps on the area around actual checkbox ( 40% right part of screen) the box would be checked and the bottom Action1 Button can be pressed to perform the action on selected group
(b)将水龙头分成两部分,如果用户点击实际复选框周围的区域(屏幕右侧40%),将检查该框,并按下底部的Action1按钮以对所选组执行操作
If the user taps on area around left 60% area. I show a context menu.
如果用户点击左侧60%区域周围的区域。我显示了一个上下文菜单。
(c) Show a option button along with chkbox [ ] () and show the context popup menu when user clicks the ()
(c)显示一个选项按钮以及chkbox [](),并在用户单击()时显示上下文弹出菜单
Any ideas guys...
任何想法的家伙......
1 个解决方案
#1
0
B sounds good. Just make sure that 40% of the screen (around checkbox) has different shading, so that it's visible to the user.
B听起来不错。只需确保屏幕的40%(复选框周围)具有不同的阴影,以便用户可以看到它。
更多相关文章
- java漏洞成黑客目标微软呼吁用户更新软件
- Android Asyntask:对上下文使用弱引用以避免设备旋转屏幕
- 用户的身份证号和手机号验证
- Ldap 修改用户密码及安装证书
- 如何判断用户的java代码是否已成功编译?
- 根据用户的动态字段对链接列表进行排序
- java 关于单用户登录session问题,在线人数统计非正常退出系统问题
- 无法从其他用户的crontab作业执行java程序
- 如何修改JTextField (Swing)以显示在用户输入文本之前不会消失的