可触摸区域有多大?

时间:2014-04-09 13:22:24

标签: touch user-experience

我正在使用phonegap将网络应用移植到移动应用中。其中有一个窗口控件可调整大小,类似于Windows中的窗口,即单击边缘并拖动。

我最初的想法是简单地将触摸事件转换为鼠标事件,当我这样做时,我注意到边缘,即可触摸区域需要相当大,以便能够触摸它。

我想知道一个区域应该有多大才能方便地触摸它?我的第二个解决方案是使用压缩缩放或其他方式构建调整大小。

1 个答案:

答案 0 :(得分:1)

48dp。

http://developer.android.com/design/style/metrics-grids.html

Why 48dp?

On average, 48dp translate to a physical size of about 9mm (with some variability). This is comfortably in the range of recommended target sizes (7-10 mm) for touchscreen objects and users will be able to reliably and accurately target them with their fingers.

If you design your elements to be at least 48dp high and wide you can guarantee that:

your targets will never be smaller than the minimum recommended target size of 7mm regardless of what screen they are displayed on. you strike a good compromise between overall information density on the one hand, and targetability of UI elements on the other.